From 24b03d819b974dd9971d18fd2e739b6fef47818e Mon Sep 17 00:00:00 2001 From: Scott Taylor Date: Tue, 6 May 2014 21:28:02 +0000 Subject: [PATCH] In `update_metadata_by_mid()`, `$original_value` is unused. See #27882. git-svn-id: https://develop.svn.wordpress.org/trunk@28328 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-includes/meta.php | 1 - 1 file changed, 1 deletion(-) diff --git a/src/wp-includes/meta.php b/src/wp-includes/meta.php index 0f3aaa979d..680c622cbf 100644 --- a/src/wp-includes/meta.php +++ b/src/wp-includes/meta.php @@ -578,7 +578,6 @@ function update_metadata_by_mid( $meta_type, $meta_id, $meta_value, $meta_key = // Fetch the meta and go on if it's found. if ( $meta = get_metadata_by_mid( $meta_type, $meta_id ) ) { $original_key = $meta->meta_key; - $original_value = $meta->meta_value; $object_id = $meta->{$column}; // If a new meta_key (last parameter) was specified, change the meta key,