mirror of
https://github.com/WordPress/WordPress.git
synced 2025-02-18 04:25:07 +00:00
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:
parent
a16fe7f86f
commit
2c789f296a
@ -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 );
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
x
Reference in New Issue
Block a user