WordPress.org

Support

Support » Plugins and Hacks » Admin Menus Fixed » [Resolved] Problem on activation and PHP notices

[Resolved] Problem on activation and PHP notices

  • The plugin’s closing PHP tag ?> has extra characters after it and is generating an unexpected output warning on plugin activation.

    The same message is also being caused by global $wp_version; not being declared previously to the first verification of its value ( is_admin() ).

    The following line is dumping WP_DEBUB notices:
    wp_deregister_script( 'admin-bar' );
    Works ok disabling this line, though.

    regards,
    Rodolfo

    http://wordpress.org/extend/plugins/admin-menus-fixed/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author spherical

    @spherical

    Interesting. I’m not seeing any of this and, obviously, I had to deactivate and reactivate it and Ozh’ Menu many times. I’ll check it out.

    What version of php are you running?
    What version of WP?

    That is_admin_bar_showing is irrelevant in current and recent versions, I just took that whole test out. Not worth worrying about versions so old because by now everyone should be up to within two versions of current; just for security reasons alone.

    Thanks for the report.

    Latest versions of both. I experienced it in a localhost development install and didn’t test in a plain vanilla, but it is working smoothly with the new version.
    Thanks!

    Plugin Author spherical

    @spherical

    Good to hear. Thanks for the feedback.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Resolved] Problem on activation and PHP notices’ is closed to new replies.
Skip to toolbar