mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-04-04 12:44:31 +00:00
Add @global annotations for wp-admin/*.
See #32444. git-svn-id: https://develop.svn.wordpress.org/trunk@32642 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -23,6 +23,11 @@ elseif ( isset( $_POST['post_ID'] ) )
|
||||
else
|
||||
$post_id = $post_ID = 0;
|
||||
|
||||
/**
|
||||
* @global string $post_type
|
||||
* @global object $post_type_object
|
||||
* @global WP_Post $post
|
||||
*/
|
||||
global $post_type, $post_type_object, $post;
|
||||
|
||||
if ( $post_id )
|
||||
|
||||
Reference in New Issue
Block a user