Docs: Improve documentation for `WP_Customize_Nav_Menus::filter_nonces()`, introduced in [36414].
See #27355, #35617. See #35986. Built from https://develop.svn.wordpress.org/trunk@36835 git-svn-id: http://core.svn.wordpress.org/trunk@36802 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
4a171993ed
commit
ee2e632774
|
@ -72,13 +72,13 @@ final class WP_Customize_Nav_Menus {
|
|||
}
|
||||
|
||||
/**
|
||||
* Add nonce for customizing menus.
|
||||
* Adds a nonce for customizing menus.
|
||||
*
|
||||
* @since 4.5.0
|
||||
* @access public
|
||||
*
|
||||
* @param array $nonces Array of nonces.
|
||||
* @return array $nonces Array of nonces.
|
||||
* @return array $nonces Modified array of nonces.
|
||||
*/
|
||||
public function filter_nonces( $nonces ) {
|
||||
$nonces['customize-menus'] = wp_create_nonce( 'customize-menus' );
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '4.5-beta2-36834';
|
||||
$wp_version = '4.5-beta2-36835';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
|
Loading…
Reference in New Issue