Docs: Add a @global entry for $wp_post_statuses in WP_Customize_Nav_Menus::make_auto_draft_status_previewable().
Props afzalmultani. See #41238. Built from https://develop.svn.wordpress.org/trunk@41004 git-svn-id: http://core.svn.wordpress.org/trunk@40854 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
@@ -1141,6 +1141,8 @@ final class WP_Customize_Nav_Menus {
|
||||
*
|
||||
* @since 4.7.0
|
||||
* @access public
|
||||
*
|
||||
* @global array $wp_post_statuses List of post statuses.
|
||||
*/
|
||||
public function make_auto_draft_status_previewable() {
|
||||
global $wp_post_statuses;
|
||||
|
||||
Reference in New Issue
Block a user