Make WordPress Core


Ignore:
Timestamp:
09/25/2015 11:57:46 PM (11 years ago)
Author:
johnbillion
Message:

callback is not a valid type in PHP, PSR-5, or phpDocumentor. callable should be used instead.

Fixes #34032

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/nav-menu-template.php

    r34507 r34566  
    220220 *     @type string        $container_class Class that is applied to the container. Default 'menu-{menu slug}-container'.
    221221 *     @type string        $container_id    The ID that is applied to the container. Default empty.
    222  *     @type callback|bool $fallback_cb     If the menu doesn't exists, a callback function will fire.
     222 *     @type callable|bool $fallback_cb     If the menu doesn't exists, a callback function will fire.
    223223 *                                          Default is 'wp_page_menu'. Set to false for no fallback.
    224224 *     @type string        $before          Text before the link text. Default empty.
Note: See TracChangeset for help on using the changeset viewer.