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
This commit is contained in:
Scott Taylor 2014-05-06 21:29:26 +00:00
parent 0910376bfe
commit b2b25f7326

View File

@ -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,