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