Upload bug on 2.8.2
-
Was getting a php error after upload from line 160 in upload.php. Variable $new_guid not found. Wasn’t causing any real problems, the files were uploaded and replaced just fine. But it was throwing off my team mates.
I found the line in upload.php:
<br /> 159. // Execute hook actions - thanks rubious for the suggestion!<br /> 160. do_action("enable-media-replace-upload-done", ($new_guid ? $new_guid : $current_guid));<br />Updated it to:
<br /> 159. // Execute hook actions - thanks rubious for the suggestion!<br /> 160. do_action("enable-media-replace-upload-done", (isset($new_guid) && $new_guid ? $new_guid : $current_guid));<br />It’s a great plug-in, thanks a bunch developer! 😉
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
The topic ‘Upload bug on 2.8.2’ is closed to new replies.