From d399f00b307b4476962bce34c213274d88373e76 Mon Sep 17 00:00:00 2001 From: Andrew 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: https://develop.svn.wordpress.org/trunk@19521 602fd350-edb4-49c9-b593-d223f7449a82 --- 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 a31a9b9e0e..168186eb23 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 ); } /**