mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-10-04 22:57:20 +00:00
Docs: Replace multiple single line comments with multi-line comments.
This changeset updates various comments as per WordPress PHP Inline Documentation Standards. See https://developer.wordpress.org/coding-standards/inline-documentation-standards/php/#5-inline-comments. Follow-up to [56174], [56175], [56176], [56177], [56178], [56179], [56180]. Props costdev, audrasjb. See #58459. git-svn-id: https://develop.svn.wordpress.org/trunk@56191 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -910,8 +910,10 @@ function update_metadata_by_mid( $meta_type, $meta_id, $meta_value, $meta_key =
|
||||
$original_key = $meta->meta_key;
|
||||
$object_id = $meta->{$column};
|
||||
|
||||
// If a new meta_key (last parameter) was specified, change the meta key,
|
||||
// otherwise use the original key in the update statement.
|
||||
/*
|
||||
* If a new meta_key (last parameter) was specified, change the meta key,
|
||||
* otherwise use the original key in the update statement.
|
||||
*/
|
||||
if ( false === $meta_key ) {
|
||||
$meta_key = $original_key;
|
||||
} elseif ( ! is_string( $meta_key ) ) {
|
||||
|
||||
Reference in New Issue
Block a user