WordPress.org

Make WordPress Core


Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/3.0/wp-admin/includes/nav-menu.php

    r15254 r15470  
    325325                the_post();
    326326                if ( 'markup' == $response_format ) {
    327                     echo walk_nav_menu_tree( array_map('wp_setup_nav_menu_item', array( get_post( get_the_ID() ) ) ), 0, (object) $args );
     327                    echo walk_nav_menu_tree( array_map('wp_setup_nav_menu_item', array( get_post( $var_by_ref = get_the_ID() ) ) ), 0, (object) $args );
    328328                } elseif ( 'json' == $response_format ) {
    329329                    echo json_encode(
Note: See TracChangeset for help on using the changeset viewer.