No so awesome. That’s not all you have to add to these files. In wp-admin/includes/upload.php just before line:
$r .= “\n”;
you have to add another
$href = str_replace(“?”,”upload.php?”,$href);
However, this is not the good correction – href is empty and the solution is to find where href starts and fill it for good with ‘upload.php’ (that was quite stupid idea to create so ‘sophisticated’ code where name of file is another variable…)
Looks like programmer did code that was out of his control.
Another ‘briliant’ idea is to use database only to keep posts and pages. Perfect way to loose all work (I will always stay with files).
I have same; spent several hours on that but I do not know what to do. This is absolutely bug.