Docs: Add missing description for $typenow global in various functions.
Follow-up to [53060]. See #54729. Built from https://develop.svn.wordpress.org/trunk@53061 git-svn-id: http://core.svn.wordpress.org/trunk@52650 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
@@ -402,14 +402,15 @@ final class WP_Screen {
|
||||
* @since 3.3.0
|
||||
*
|
||||
* @global WP_Screen $current_screen WordPress current screen object.
|
||||
* @global string $typenow The post type of the current screen.
|
||||
* @global string $taxnow
|
||||
* @global string $typenow
|
||||
*/
|
||||
public function set_current_screen() {
|
||||
global $current_screen, $taxnow, $typenow;
|
||||
|
||||
$current_screen = $this;
|
||||
$taxnow = $this->taxonomy;
|
||||
$typenow = $this->post_type;
|
||||
$taxnow = $this->taxonomy;
|
||||
|
||||
/**
|
||||
* Fires after the current screen has been set.
|
||||
|
||||
Reference in New Issue
Block a user