Changeset 9116 for trunk/wp-includes/post.php
- Timestamp:
- 10/10/2008 09:40:30 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/post.php
r9106 r9116 520 520 // expected_slashed ($meta_key) 521 521 $meta_key = stripslashes($meta_key); 522 $meta_value = stripslashes($meta_value); 522 523 523 524 if ( $unique && $wpdb->get_var( $wpdb->prepare( "SELECT meta_key FROM $wpdb->postmeta WHERE meta_key = %s AND post_id = %d", $meta_key, $post_id ) ) ) … … 632 633 // expected_slashed ($meta_key) 633 634 $meta_key = stripslashes($meta_key); 635 $meta_value = stripslashes($meta_value); 634 636 635 637 if ( ! $wpdb->get_var( $wpdb->prepare( "SELECT meta_key FROM $wpdb->postmeta WHERE meta_key = %s AND post_id = %d", $meta_key, $post_id ) ) ) {
Note: See TracChangeset
for help on using the changeset viewer.