WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. brasofilo
    Member
    Posted 1 year 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.

    regards,
    Rodolfo

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

  2. spherical
    Member
    Plugin Author

    Posted 1 year 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
    Member
    Posted 1 year 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.
    Thanks!

  4. spherical
    Member
    Plugin Author

    Posted 1 year ago #

    Good to hear. Thanks for the feedback.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.