Changes in branches/2.6/wp-includes/post.php [9743:8825]
- File:
-
- 1 edited
-
branches/2.6/wp-includes/post.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/2.6/wp-includes/post.php
r9743 r8825 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)
Note: See TracChangeset
for help on using the changeset viewer.