• I noticed that every page on my dashboard is being delayed because of img.shields.io resources – which are loaded in the Bootstrap Shortcodes Help popup.

    It seems the Bootstrap Shortcodes help file is loaded on every admin page, not just when it’s required.

    To work around this, I’ve added this snippet to my site:
    `
    add_action(‘plugins_loaded’, function(){
    remove_action( ‘admin_footer’, ‘boostrap_shortcodes_help’ );
    add_action(‘media_buttons’, function(){
    add_action( ‘admin_footer’, ‘boostrap_shortcodes_help’ );
    });
    });
    `

    I’ve not fully tested it so it may not always work – and I also haven’t removed the CSS from being loaded which would be ideal too.

  • The topic ‘Slow loading of img.shields.io’ is closed to new replies.