Add @global annotations for wp-admin/*.
See #32444. Built from https://develop.svn.wordpress.org/trunk@32642 git-svn-id: http://core.svn.wordpress.org/trunk@32612 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
@@ -18,6 +18,10 @@ if ( 'attachment' === $typenow ) {
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* @global string $post_type
|
||||
* @global object $post_type_object
|
||||
*/
|
||||
global $post_type, $post_type_object;
|
||||
|
||||
$post_type = $typenow;
|
||||
|
||||
Reference in New Issue
Block a user