Changeset 18998
- Timestamp:
- 10/18/2011 08:44:39 PM (13 years ago)
- Location:
- trunk
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/admin-ajax.php
r18937 r18998 861 861 ) ); 862 862 } else { // Update? 863 $mid = (int) array_pop( array_keys($_POST['meta']) );863 $mid = (int) array_pop( $var_by_ref = array_keys($_POST['meta']) ); 864 864 $key = stripslashes( $_POST['meta'][$mid]['key'] ); 865 865 $value = stripslashes( $_POST['meta'][$mid]['value'] ); -
trunk/wp-admin/includes/nav-menu.php
r18755 r18998 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( get_the_ID() ) ) ), 0, (object) $args );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 ); 341 341 } elseif ( 'json' == $response_format ) { 342 342 echo json_encode( -
trunk/wp-app.php
r18110 r18998 224 224 function __construct() { 225 225 226 $this->script_name = array_pop( explode( '/', $_SERVER['SCRIPT_NAME'] ) );226 $this->script_name = array_pop( $var_by_ref = explode( '/', $_SERVER['SCRIPT_NAME'] ) ); 227 227 $this->app_base = site_url( $this->script_name . '/' ); 228 228 -
trunk/wp-includes/wp-db.php
r18753 r18998 1370 1370 // (Duplicates are discarded) 1371 1371 foreach ( $this->last_result as $row ) { 1372 $key = array_shift( get_object_vars( $row ) );1372 $key = array_shift( $var_by_ref = get_object_vars( $row ) ); 1373 1373 if ( ! isset( $new_array[ $key ] ) ) 1374 1374 $new_array[ $key ] = $row;
Note: See TracChangeset
for help on using the changeset viewer.