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:
Drew Jaynes 2016-03-03 16:05:27 +00:00
parent 4a171993ed
commit ee2e632774
2 changed files with 4 additions and 4 deletions

View File

@ -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 * @since 4.5.0
* @access public * @access public
* *
* @param array $nonces Array of nonces. * @param array $nonces Array of nonces.
* @return array $nonces Array of nonces. * @return array $nonces Modified array of nonces.
*/ */
public function filter_nonces( $nonces ) { public function filter_nonces( $nonces ) {
$nonces['customize-menus'] = wp_create_nonce( 'customize-menus' ); $nonces['customize-menus'] = wp_create_nonce( 'customize-menus' );

View File

@ -4,7 +4,7 @@
* *
* @global string $wp_version * @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. * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.