Make WordPress Core

Ticket #35471: 35471.diff

File 35471.diff, 930 bytes (added by ericlewis, 9 years ago)
  • src/wp-includes/nav-menu.php

     
    7777}
    7878
    7979/**
    80  * Register navigation menus for a theme.
     80 * Register navigation menu locations for a theme.
    8181 *
    8282 * @since 3.0.0
    8383 *
     
    9494}
    9595
    9696/**
    97  * Unregisters a navigation menu for a theme.
     97 * Unregisters a navigation menu location for a theme.
    9898 *
    9999 * @global array $_wp_registered_nav_menus
    100100 *
     
    115115}
    116116
    117117/**
    118  * Register a navigation menu for a theme.
     118 * Register a navigation menu location for a theme.
    119119 *
    120120 * @since 3.0.0
    121121 *
     
    126126        register_nav_menus( array( $location => $description ) );
    127127}
    128128/**
    129  * Returns an array of all registered navigation menus in a theme
     129 * Returns all registered navigation menu locations in a theme.
    130130 *
    131131 * @since 3.0.0
    132132 *