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,
Rodolfohttp://wordpress.org/extend/plugins/admin-menus-fixed/
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
The topic ‘Problem on activation and PHP notices’ is closed to new replies.