Changeset 18110
- Timestamp:
- 06/01/2011 10:03:36 PM (13 years ago)
- Location:
- trunk
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/admin-ajax.php
r18100 r18110 860 860 ) ); 861 861 } else { // Update? 862 $mid = (int) array_pop( $var_by_ref =array_keys($_POST['meta']) );862 $mid = (int) array_pop( array_keys($_POST['meta']) ); 863 863 $key = $_POST['meta'][$mid]['key']; 864 864 $value = $_POST['meta'][$mid]['value']; -
trunk/wp-admin/includes/nav-menu.php
r18010 r18110 335 335 the_post(); 336 336 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 ); 338 338 } elseif ( 'json' == $response_format ) { 339 339 echo json_encode( -
trunk/wp-app.php
r17998 r18110 224 224 function __construct() { 225 225 226 $this->script_name = array_pop( $var_by_ref =explode( '/', $_SERVER['SCRIPT_NAME'] ) );226 $this->script_name = array_pop( explode( '/', $_SERVER['SCRIPT_NAME'] ) ); 227 227 $this->app_base = site_url( $this->script_name . '/' ); 228 228 -
trunk/wp-includes/wp-db.php
r18063 r18110 1366 1366 // (Duplicates are discarded) 1367 1367 foreach ( $this->last_result as $row ) { 1368 $key = array_shift( $var_by_ref =get_object_vars( $row ) );1368 $key = array_shift( get_object_vars( $row ) ); 1369 1369 if ( ! isset( $new_array[ $key ] ) ) 1370 1370 $new_array[ $key ] = $row;
Note: See TracChangeset
for help on using the changeset viewer.