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
This commit is contained in:
nacin 2011-12-01 03:34:55 +00:00
parent a16fe7f86f
commit 2c789f296a
1 changed files with 1 additions and 1 deletions

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 );
}
/**