Ticket #35471: 35471.diff
File 35471.diff, 930 bytes (added by , 9 years ago) |
---|
-
src/wp-includes/nav-menu.php
77 77 } 78 78 79 79 /** 80 * Register navigation menu s for a theme.80 * Register navigation menu locations for a theme. 81 81 * 82 82 * @since 3.0.0 83 83 * … … 94 94 } 95 95 96 96 /** 97 * Unregisters a navigation menu for a theme.97 * Unregisters a navigation menu location for a theme. 98 98 * 99 99 * @global array $_wp_registered_nav_menus 100 100 * … … 115 115 } 116 116 117 117 /** 118 * Register a navigation menu for a theme.118 * Register a navigation menu location for a theme. 119 119 * 120 120 * @since 3.0.0 121 121 * … … 126 126 register_nav_menus( array( $location => $description ) ); 127 127 } 128 128 /** 129 * Returns a n array of all registered navigation menus in a theme129 * Returns all registered navigation menu locations in a theme. 130 130 * 131 131 * @since 3.0.0 132 132 *