Admin Menus Fixed
[resolved] Problem on activation and PHP notices (4 posts)

  1. brasofilo
    Posted 3 years ago #

    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.



  2. spherical
    Plugin Author

    Posted 3 years ago #

    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.

  3. brasofilo
    Posted 3 years ago #

    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.

  4. spherical
    Plugin Author

    Posted 3 years ago #

    Good to hear. Thanks for the feedback.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic


No tags yet.