mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-10-06 15:47:05 +00:00
callback is not a valid type in PHP, PSR-5, or phpDocumentor. callable should be used instead.
Fixes #34032 git-svn-id: https://develop.svn.wordpress.org/trunk@34566 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -53,7 +53,7 @@
|
||||
* @param array $nav_menu_args {
|
||||
* An array of arguments passed to wp_nav_menu() to retrieve a custom menu.
|
||||
*
|
||||
* @type callback|bool $fallback_cb Callback to fire if the menu doesn't exist. Default empty.
|
||||
* @type callable|bool $fallback_cb Callback to fire if the menu doesn't exist. Default empty.
|
||||
* @type mixed $menu Menu ID, slug, or name.
|
||||
* }
|
||||
* @param stdClass $nav_menu Nav menu object for the current menu.
|
||||
|
||||
Reference in New Issue
Block a user