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
This commit is contained in:
parent
e95edb29aa
commit
24b03d819b
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue