Media Tab Blank
-
interesting issue, running gtmetrix and other test its recommended to Defer parsing of JavaScript. found a couple of options and one was adding
function defer_parsing_of_js ( $url ) { if ( FALSE === strpos( $url, '.js' ) ) return $url; if ( strpos( $url, 'jquery.js' ) ) return $url; return "$url' defer "; } add_filter( 'clean_url', 'defer_parsing_of_js', 11, 1 );to the functions.php
thought this was a better option than another plugin.
this brought that score up to 100. and didnt seem to cause any issues on the site.
updating a featured image it would not remove the image, went to media to manually remove the image and the media page is blank. i had added the function a few days ago and forgot about it so i started with disabling all plugins (media page was normal now) and adding them back 1 at a time. since yoast was at the bottom it was enabled last and caused the blank media page. assuming it was a plugin conflict i disabled all plugins and enabled yoast… blank media page. i know it was not an issue in the past and thought back to any other changes. the function came to mind so i removed it and yoast had no impact and the media page worked as expected.so in short, the combination of yoast and the above function killed the media page.
is there a recommended method or a fix?
thanks
Sean
The topic ‘Media Tab Blank’ is closed to new replies.