WordPress.org

Make WordPress Core

Ticket #37106: 37106.diff

File 37106.diff, 906 bytes (added by rabmalin, 6 years ago)
  • src/wp-includes/nav-menu.php

     
    132132 *
    133133 * @global array $_wp_registered_nav_menus
    134134 *
    135  * @return array
     135 * @return array The array of registered navigation menu locations; empty array
     136 * if none;
    136137 */
    137138function get_registered_nav_menus() {
    138139        global $_wp_registered_nav_menus;
     
    142143}
    143144
    144145/**
    145  * Returns an array with the registered navigation menu locations and the menu assigned to it
     146 * Returns an array with the registered navigation menu locations and the menu
     147 * assigned to it.
    146148 *
    147149 * @since 3.0.0
    148  * @return array
     150 *
     151 * @return array The array with the registered navigation menu locations and
     152 * the menu assigned to it; empty array if none;
    149153 */
    150154
    151155function get_nav_menu_locations() {