• Resolved bynicolas

    (@bynicolas)


    I had a few issues of script (jQuery to be precise) not loading properly in some cases.

    I narrowed down that the hook for

    $this->loader->add_action('wp_footer', $plugin_public, 'wpseo_buffer_end', 999);

    was too soon. Hooking to shutdown resolved my *jQuery not loaded* issue.

    so I changed to this line

    $this->loader->add_action('shutdown', $plugin_public, 'wpseo_buffer_end', 999);

    in

    remove-branding-for-yoast-seo/includes/class-wordpress-seo-remove-branding.php

    in the define_public_hooks() function.

  • The topic ‘Hook later – Bug’ is closed to new replies.