Make WordPress Core


Ignore:
Timestamp:
02/09/2020 04:52:28 PM (4 years ago)
Author:
SergeyBiryukov
Message:

Coding Standards: Use Yoda conditions where appropriate.

See #49222.

File:
1 edited

Legend:

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

    r47122 r47219  
    2929 *     @type string             $container_class Class that is applied to the container. Default 'menu-{menu slug}-container'.
    3030 *     @type string             $container_id    The ID that is applied to the container. Default empty.
    31  *     @type callable|bool      $fallback_cb     If the menu doesn't exists, a callback function will fire.
     31 *     @type callable|bool      $fallback_cb     If the menu doesn't exist, a callback function will fire.
    3232 *                                               Default is 'wp_page_menu'. Set to false for no fallback.
    3333 *     @type string             $before          Text before the link markup. Default empty.
Note: See TracChangeset for help on using the changeset viewer.