Changes from tags/2.6.3 at r59499 to tags/2.6.5 at r59499
- Location:
- tags/2.6.5
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
tags/2.6.5/wp-admin/users.php
r59499 r59499 129 129 $go_delete = false; 130 130 foreach ( (array) $userids as $id ) { 131 $id = (int) $id; 131 132 $user = new WP_User($id); 132 133 if ( $id == $current_user->ID ) { -
tags/2.6.5/wp-includes/feed.php
r59499 r59499 496 496 */ 497 497 function self_link() { 498 echo 'http' 499 . ( $_SERVER['https'] == 'on' ? 's' : '' ) . '://' 500 . $_SERVER['HTTP_HOST'] 501 . wp_specialchars(stripslashes($_SERVER['REQUEST_URI']), 1); 498 $host = @parse_url(get_option('home')); 499 $host = $host['host']; 500 echo clean_url( 501 'http' 502 . ( (isset($_SERVER['https']) && $_SERVER['https'] == 'on') ? 's' : '' ) . '://' 503 . $host 504 . stripslashes($_SERVER['REQUEST_URI']) 505 ); 502 506 } 503 507 -
tags/2.6.5/wp-includes/post.php
r59499 r59499 550 550 global $wpdb; 551 551 552 $post_id = absint( $post_id ); 552 // make sure meta is added to the post, not a revision 553 if ( $the_post = wp_is_post_revision($post_id) ) 554 $post_id = $the_post; 553 555 554 556 // expected_slashed ($key, $value) … … 630 632 function update_post_meta($post_id, $meta_key, $meta_value, $prev_value = '') { 631 633 global $wpdb; 634 635 // make sure meta is added to the post, not a revision 636 if ( $the_post = wp_is_post_revision($post_id) ) 637 $post_id = $the_post; 632 638 633 639 // expected_slashed ($meta_key) -
tags/2.6.5/wp-includes/version.php
r59499 r59499 9 9 * @global string $wp_version 10 10 */ 11 $wp_version = '2.6. 3';11 $wp_version = '2.6.5'; 12 12 13 13 /** -
tags/2.6.5/xmlrpc.php
r59499 r59499 1344 1344 $actual_post = wp_get_single_post($post_ID,ARRAY_A); 1345 1345 1346 if (!$actual_post ) {1346 if (!$actual_post || $actual_post['post_type'] != 'post') { 1347 1347 return new IXR_Error(404, __('Sorry, no such post.')); 1348 1348 } … … 2367 2367 $actual_post = wp_get_single_post($post_ID, ARRAY_A); 2368 2368 2369 if (!$actual_post ) {2369 if (!$actual_post || $actual_post['post_type'] != 'post') { 2370 2370 return new IXR_Error(404, __('Sorry, no such post.')); 2371 2371 }
Note: See TracChangeset
for help on using the changeset viewer.