Docs: Add a @global
entry for $wp_post_statuses
in WP_Customize_Nav_Menus::make_auto_draft_status_previewable()
.
Props afzalmultani. See #41238. git-svn-id: https://develop.svn.wordpress.org/trunk@41004 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
b24850d038
commit
f0955e58e4
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user