Bug at wp-includes/media.php:76
-
There is a problem with the following code in wp-includes/media.php (line 76):
if ( $thumb_file = wp_get_attachment_thumb_file() && $info = getimagesize($thumb_file) ) {
It should be as follows:
if ( ($thumb_file = wp_get_attachment_thumb_file($id)) && ($info = getimagesize($thumb_file)) ) {
– missing parentheses causing the condition to be wrongly interpreted
– missing $id argument to wp_get_attachment_thumb_fileHope this can be fixed soon.
- The topic ‘Bug at wp-includes/media.php:76’ is closed to new replies.