From b2b25f732659f9aa56ae2763b6e1e1a34b3568f5 Mon Sep 17 00:00:00 2001 From: Scott Taylor Date: Tue, 6 May 2014 21:29:26 +0000 Subject: [PATCH] In `update_metadata_by_mid()`, `$original_value` is unused. See #27882. Built from https://develop.svn.wordpress.org/trunk@28328 git-svn-id: http://core.svn.wordpress.org/trunk@28156 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/meta.php | 1 - 1 file changed, 1 deletion(-) diff --git a/wp-includes/meta.php b/wp-includes/meta.php index 0f3aaa979d..680c622cbf 100644 --- a/wp-includes/meta.php +++ b/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,