Quantcast
Channel: WordPress.org Forums » [Autoptimize] Support
Viewing all articles
Browse latest Browse all 14094

mehedi_doha on "[Plugin: Autoptimize] wp_enqueue_media not working when enable Optimize js code"

$
0
0

Hi Frank,
Thanks for your quick reply. For your kind reference, when we enqueue default wp-media (right now using version 4.1) its added 'plupload.full.min.js' file in footer which locates at : wp-includes/js/plupload/ folder.

I tried with your 'exclude' comma-seperated exclusion from admin settings but no luck :(

Would you please just add below code in functions.php file to any site and try to check console through firebug from front-side:

function add_my_scripts() {
    wp_enqueue_media();

 }

 add_action('wp_enqueue_scripts', 'add_my_scripts');

Yesterday, i opened a ticket in stackoverflow where you can see the error i am facing: CLICK HERE

Regards,
M


Viewing all articles
Browse latest Browse all 14094

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>