Make WordPress Core


Ignore:
Timestamp:
06/01/2011 10:03:36 PM (13 years ago)
Author:
nacin
Message:

Take that, PHP 5.0.5. Good riddens. see #14160.

File:
1 edited

Legend:

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

    r18010 r18110  
    335335                the_post();
    336336                if ( 'markup' == $response_format ) {
    337                     echo walk_nav_menu_tree( array_map('wp_setup_nav_menu_item', array( get_post( $var_by_ref = get_the_ID() ) ) ), 0, (object) $args );
     337                    echo walk_nav_menu_tree( array_map('wp_setup_nav_menu_item', array( get_post( get_the_ID() ) ) ), 0, (object) $args );
    338338                } elseif ( 'json' == $response_format ) {
    339339                    echo json_encode(
Note: See TracChangeset for help on using the changeset viewer.