Admin globals:

* Declare `$wp_importers` as a global in `admin.php`
* Declare `$post_type`, `$post_type_object`, and  `$post` as globals where applicable

See #30799.


git-svn-id: https://develop.svn.wordpress.org/trunk@31121 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Scott Taylor
2015-01-10 05:28:46 +00:00
parent c3bd2252f5
commit 77cffd8edf
6 changed files with 19 additions and 8 deletions
+2
View File
@@ -10,6 +10,8 @@
if ( !defined('ABSPATH') )
die('-1');
global $post_type, $post_type_object, $post;
wp_enqueue_script('post');
$_wp_editor_expand = $_content_editor_dfw = false;