Changeset 15470
- Timestamp:
- 07/25/2010 07:34:49 AM (14 years ago)
- Location:
- branches/3.0
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/3.0/wp-admin/admin-ajax.php
r15453 r15470 894 894 ) ); 895 895 } else { // Update? 896 $mid = (int) array_pop( array_keys($_POST['meta']));896 $mid = (int) array_pop( $var_by_ref = array_keys($_POST['meta']) ); 897 897 $key = $_POST['meta'][$mid]['key']; 898 898 $value = $_POST['meta'][$mid]['value']; -
branches/3.0/wp-admin/includes/nav-menu.php
r15254 r15470 325 325 the_post(); 326 326 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 ); 328 328 } elseif ( 'json' == $response_format ) { 329 329 echo json_encode( -
branches/3.0/wp-admin/ms-edit.php
r15403 r15470 105 105 foreach ( (array)$users as $user ) { 106 106 $user_meta_value = unserialize( $user->meta_value ); 107 if ( is_array( $user_meta_value ) && array_pop( array_keys( $user_meta_value ) ) == 'subscriber' )107 if ( is_array( $user_meta_value ) && array_pop( $var_by_ref = array_keys( $user_meta_value ) ) == 'subscriber' ) 108 108 $move_users[] = $user->user_id; 109 109 } -
branches/3.0/wp-app.php
r14949 r15470 224 224 function AtomServer() { 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 -
branches/3.0/wp-includes/query.php
r15229 r15470 2739 2739 $this->queried_object_id = $term->term_id; 2740 2740 } elseif ( $this->is_posts_page ) { 2741 $this->queried_object = & get_page(get_option('page_for_posts')); 2741 $page_for_posts = get_option('page_for_posts'); 2742 $this->queried_object = & get_page( $page_for_posts ); 2742 2743 $this->queried_object_id = (int) $this->queried_object->ID; 2743 2744 } elseif ( $this->is_single && !is_null($this->post) ) { -
branches/3.0/wp-includes/wp-db.php
r15266 r15470 1403 1403 // (Duplicates are discarded) 1404 1404 foreach ( $this->last_result as $row ) { 1405 $key = array_shift( get_object_vars( $row ) );1405 $key = array_shift( $var_by_ref = get_object_vars( $row ) ); 1406 1406 if ( ! isset( $new_array[ $key ] ) ) 1407 1407 $new_array[ $key ] = $row;
Note: See TracChangeset
for help on using the changeset viewer.