• Resolved rfgoetz

    (@rfgoetz)


    I get this error message when I activate BPS (it is the only plugin activated).

    I have debug turned on.

    This error message started occuring with version .48.7

    Notice: wp_script_is was called incorrectly. Scripts and styles should not be registered or enqueued until the wp_enqueue_scripts, admin_enqueue_scripts, or login_enqueue_scripts hooks. Please see Debugging in WordPress for more information. (This message was added in version 3.3.) in …/wp/wp-includes/functions.php on line 2986

    https://www.ads-software.com/extend/plugins/bulletproof-security/

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author AITpro

    (@aitpro)

    Yep, this is an issue in the bulletproof-security.php file on code lines 53-55. You can comment this code out with slashes for now if you want.

    //if ( wp_script_is( 'bps-js', $list = 'queue' ) ) {
    	//	require_once(ABSPATH . 'wp-includes/pluggable.php');
    	//}

    This call to pluggable.php will have to added in the admin.php file during the init. Personally I would like to do away with this code altogether, but there is a very rare problem that occurs on Network/Multisite sites where pluggable.php needs to be called. I will post where the code is being moved to once it is thoroughly tested.

    Plugin Author AITpro

    (@aitpro)

    The problem has been isolated and a solution has been created in /bulletproof-security/admin/admin.php. We will release a new version of BPS tomorrow.

    function bps_network_remove_menu_pages() {
    	remove_menu_page('bulletproof-security/admin/options.php');
    	remove_submenu_page('bulletproof-security/admin/options.php', 'bulletproof-security/admin/options.php' );
    	remove_submenu_page('bulletproof-security/admin/options.php', 'bulletproof-security/admin/login/login.php' );
    }
    
    // BPS Menu
    function bulletproof_security_admin_menu() {
    	if (is_multisite() && !is_super_admin()) {
    
    	add_action( 'admin_menu', 'bps_network_remove_menu_pages' );
    
    		} else {
    ...
    ...
    ...
    Thread Starter rfgoetz

    (@rfgoetz)

    Thanks for the super quick response.

    Plugin Author AITpro

    (@aitpro)

    .48.8 has been released that fixes this issue/problem. Thanks for pointing it out.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘3.6 Beta issue’ is closed to new replies.