Fix the `$location` parameter type in the `unregister_nav_menu()` DocBlock.
`$location` is a string, not an array. Props ipm-frommen. Fixes #30098. Built from https://develop.svn.wordpress.org/trunk@30019 git-svn-id: http://core.svn.wordpress.org/trunk@30019 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
3ad681b2ef
commit
96fb9e36a2
|
@ -81,8 +81,7 @@ function register_nav_menus( $locations = array() ) {
|
|||
/**
|
||||
* Unregisters a navigation menu for a theme.
|
||||
*
|
||||
* @param array $location the menu location identifier
|
||||
*
|
||||
* @param string $location The menu location identifier.
|
||||
* @return bool True on success, false on failure.
|
||||
*/
|
||||
function unregister_nav_menu( $location ) {
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '4.1-alpha-30018';
|
||||
$wp_version = '4.1-alpha-30019';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
|
Loading…
Reference in New Issue