Ticket #27745: 27745.diff
File 27745.diff, 548 bytes (added by , 11 years ago) |
---|
-
src/wp-includes/nav-menu.php
diff --git src/wp-includes/nav-menu.php src/wp-includes/nav-menu.php index 46a6b2b..1dba3e9 100644
function is_nav_menu_item( $menu_item_id = 0 ) { 164 164 * @since 3.0.0 165 165 * 166 166 * @param string $menu_name Menu Name 167 * @return mixed Menu object on success|WP_Error on failure167 * @return int|WP_Error object The menu's ID or WP_Error object. 168 168 */ 169 169 function wp_create_nav_menu( $menu_name ) { 170 170 return wp_update_nav_menu_object( 0, array( 'menu-name' => $menu_name ) );