TEMPORARY FIX: 4.5.1
-
Here’s a TEMPORARY fix to make it work – don’t ask why this works, it just does (haven’t got the time to look further into the issue as it seems to be a problem in scripts.min.js and as the code is minified it makes it difficult to debug):
Open up class?meauh?attachment.php (contained in /wp-content/plugins/my-eyes-are-up-here/includes) and go to line 224, look for the following line of code:
$button .= '<div class="preview-wrap"><img src="' . $src[0] . '?v=' . time() . '" alt="' . $size . '" data-size="' . $size . '"></div>';
and replace it with:
$button .= '<script></script><div class="preview-wrap"><img src="' . $src[0] . '?v=' . time() . '" alt="' . $size . '" data-size="' . $size . '"></div>';
Adding the script tags seems to fix the issue (probably by causing a selector in the javascript file to no longer trigger).
Note to plugin owners: As part of the debugging I notice the URL is malformed when loading the images in upload.php – these URLs are only malformed when MEAUP is enabled.
- The topic ‘TEMPORARY FIX: 4.5.1’ is closed to new replies.