Fix the $location parameter type in the unregister_nav_menu() DocBlock.

`$location` is a string, not an array.

Props ipm-frommen.
Fixes #30098.


git-svn-id: https://develop.svn.wordpress.org/trunk@30019 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Drew Jaynes (DrewAPicture) 2014-10-25 13:42:57 +00:00
parent c61e074530
commit 3168f799c9

View File

@ -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 ) {