Bug: Screen options shows on all admin pages
-
Hi @mihaiimagely,
I found an error in the class calledM_NextGen_Admin
.add_filter( 'screen_options_show_screen', array($this, 'remove_post_type_screen_options'));
function remove_post_type_screen_options() { return C_NextGen_Admin_Page_Manager::is_requested_post_type() ? FALSE : TRUE; }
It should look like:
function remove_post_type_screen_options($show_screen) { return C_NextGen_Admin_Page_Manager::is_requested_post_type() ? FALSE : $show_screen; }
https://i.imgur.com/hmnbBsI.png
The problem is that if you return always true, there will be a “Screen options” in the top right corner of every admin page which is not yours. Please fix this ASAP.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Bug: Screen options shows on all admin pages’ is closed to new replies.