Changeset 19074 for trunk/wp-admin/includes/nav-menu.php
- Timestamp:
- 10/28/2011 03:48:44 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/includes/nav-menu.php
r19028 r19074 338 338 the_post(); 339 339 if ( 'markup' == $response_format ) { 340 echo walk_nav_menu_tree( array_map('wp_setup_nav_menu_item', array( get_post( $var_by_ref = get_the_ID() ) ) ), 0, (object) $args ); 340 $var_by_ref = get_the_ID(); 341 echo walk_nav_menu_tree( array_map('wp_setup_nav_menu_item', array( get_post( $var_by_ref ) ) ), 0, (object) $args ); 341 342 } elseif ( 'json' == $response_format ) { 342 343 echo json_encode(
Note: See TracChangeset
for help on using the changeset viewer.