• Resolved sheriffderek

    (@sheriffderek)


    I don’t use the admin bar. I’ve always removed it like this:

    add_filter('show_admin_bar', '__return_false'); as far as I remember.

    Uncaught ReferenceError: jQuery is not defined
    at admin-bar.js?ver=1.5:1
    (anonymous) @ admin-bar.js?ver=1.5:1

    Lately – we’ve been seeing this appear in the console.

    We’re not loading jQuery – because we don’t use it on the front-end. It looks like some JS for the admin bar is trying to load – and then trying to use jQuery.

    This happens when logged in AND when not logged in.

    What is the best way to ensure this doesn’t needlessly load? Thanks. : )

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Stop admin-bar.js from loading on front-end’ is closed to new replies.