Don't double escape. fixes #7018
git-svn-id: http://svn.automattic.com/wordpress/trunk@7980 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
68a874a4dd
commit
05f229cef0
|
@ -401,7 +401,6 @@ function update_meta( $meta_id, $meta_key, $meta_value ) {
|
|||
wp_cache_delete($post_id, 'post_meta');
|
||||
|
||||
$meta_value = maybe_serialize( stripslashes( $meta_value ));
|
||||
$meta_value = $wpdb->escape( $meta_value );
|
||||
$meta_id = (int) $meta_id;
|
||||
|
||||
$data = compact( 'meta_key', 'meta_value' );
|
||||
|
|
Loading…
Reference in New Issue