From de88c22a6c8a736fc43b5206ac0883d242f98227 Mon Sep 17 00:00:00 2001 From: azaozz Date: Thu, 12 May 2011 03:12:41 +0000 Subject: [PATCH] Allow plugins to disable screen options with filter, props yoavf, fixes #17187 git-svn-id: http://svn.automattic.com/wordpress/trunk@17884 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/includes/template.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/wp-admin/includes/template.php b/wp-admin/includes/template.php index bfcc368b9b..b6980deb21 100644 --- a/wp-admin/includes/template.php +++ b/wp-admin/includes/template.php @@ -1742,6 +1742,8 @@ function screen_meta($screen) { if ( !empty($wp_current_screen_options) ) $show_screen = true; + + $show_screen = apply_filters('screen_options_show_screen', $show_screen, $screen); ?>