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:
ryan 2008-05-22 00:12:17 +00:00
parent 68a874a4dd
commit 05f229cef0
1 changed files with 0 additions and 1 deletions

View File

@ -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' );