From 2c789f296a4e9db56931bcc3c7c37c5b9987a83c Mon Sep 17 00:00:00 2001 From: nacin Date: Thu, 1 Dec 2011 03:34:55 +0000 Subject: [PATCH] Make current_screen an action, not a filter. see #18785. git-svn-id: http://svn.automattic.com/wordpress/trunk@19521 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/includes/screen.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-admin/includes/screen.php b/wp-admin/includes/screen.php index a31a9b9e0..168186eb2 100644 --- a/wp-admin/includes/screen.php +++ b/wp-admin/includes/screen.php @@ -508,7 +508,7 @@ final class WP_Screen { $current_screen = $this; $taxnow = $this->taxonomy; $typenow = $this->post_type; - $current_screen = apply_filters( 'current_screen', $current_screen ); + do_action( 'current_screen', $current_screen ); } /**