WordPress.org

Make WordPress Core


Ignore:
Timestamp:
01/03/2021 10:02:13 PM (11 months ago)
Author:
johnbillion
Message:

Docs: Promote many bool types to true or false where only that value is used.

See #51800

File:
1 edited

Legend:

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

    r48408 r49927  
    3434 *     @type string             $container_aria_label The aria-label attribute that is applied to the container
    3535 *                                                    when it's a nav element. Default empty.
    36  *     @type callable|bool      $fallback_cb          If the menu doesn't exist, a callback function will fire.
     36 *     @type callable|false     $fallback_cb          If the menu doesn't exist, a callback function will fire.
    3737 *                                                    Default is 'wp_page_menu'. Set to false for no fallback.
    3838 *     @type string             $before               Text before the link markup. Default empty.
Note: See TracChangeset for help on using the changeset viewer.