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
This commit is contained in:
Andrew Nacin
2011-12-01 03:34:55 +00:00
parent 04bb986e97
commit d399f00b30
+1 -1
View File
@@ -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 );
}
/**