IDEA additional info:
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
<+>UTF-8
diff --git a/wp-includes/post.php b/wp-includes/post.php
|
a
|
b
|
|
| 2220 | 2220 | * This parameter has no effect if $key is not specified. |
| 2221 | 2221 | * Default false. |
| 2222 | 2222 | * @return mixed An array if $single is false. The value of the meta field |
| 2223 | | * if $single is true. False for an invalid $post_id. |
| | 2223 | * if $single is true. False for an invalid $post_id (non-numeric, |
| | 2224 | * zero, or negative value). An empty string if a valid but non-existing |
| | 2225 | * post ID is passed. |
| 2224 | 2226 | */ |
| 2225 | 2227 | function get_post_meta( $post_id, $key = '', $single = false ) { |
| 2226 | 2228 | return get_metadata( 'post', $post_id, $key, $single ); |
IDEA additional info:
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
<+>UTF-8
diff --git a/wp-includes/taxonomy.php b/wp-includes/taxonomy.php
|
a
|
b
|
|
| 1308 | 1308 | * This parameter has no effect if $key is not specified. |
| 1309 | 1309 | * Default false. |
| 1310 | 1310 | * @return mixed An array if $single is false. The value of the meta field |
| 1311 | | * if $single is true. False for an invalid $term_id. |
| | 1311 | * if $single is true. False for an invalid $term_id (non-numeric, |
| | 1312 | * zero, or negative value). An empty string if a valid but non-existing |
| | 1313 | * term ID is passed. |
| 1312 | 1314 | */ |
| 1313 | 1315 | function get_term_meta( $term_id, $key = '', $single = false ) { |
| 1314 | 1316 | return get_metadata( 'term', $term_id, $key, $single ); |
IDEA additional info:
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
<+>UTF-8
diff --git a/wp-includes/ms-site.php b/wp-includes/ms-site.php
|
a
|
b
|
|
| 1087 | 1087 | * This parameter has no effect if $key is not specified. |
| 1088 | 1088 | * Default false. |
| 1089 | 1089 | * @return mixed An array if $single is false. The value of meta data field |
| 1090 | | * if $single is true. False for an invalid $site_id. |
| | 1090 | * if $single is true. False for an invalid $site_id (non-numeric, |
| | 1091 | * zero, or negative value). An empty string if a valid but non-existing |
| | 1092 | * site ID is passed. |
| 1091 | 1093 | */ |
| 1092 | 1094 | function get_site_meta( $site_id, $key = '', $single = false ) { |
| 1093 | 1095 | return get_metadata( 'blog', $site_id, $key, $single ); |
IDEA additional info:
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
<+>UTF-8
diff --git a/wp-includes/meta.php b/wp-includes/meta.php
|
a
|
b
|
|
| 500 | 500 | * @param bool $single Optional. If true, return only the first value of the specified meta_key. |
| 501 | 501 | * This parameter has no effect if meta_key is not specified. Default false. |
| 502 | 502 | * @return mixed Single metadata value, or array of values. |
| 503 | | * False if there's a problem with the parameters passed to the function. |
| | 503 | * False if there's a problem with the parameters passed to the function (non-numeric, zero, |
| | 504 | * or negative value). |
| | 505 | * An empty string if a valid but non-existing object ID is passed. |
| 504 | 506 | */ |
| 505 | 507 | function get_metadata( $meta_type, $object_id, $meta_key = '', $single = false ) { |
| 506 | 508 | $value = get_metadata_raw( $meta_type, $object_id, $meta_key, $single ); |
| … |
… |
|
| 524 | 526 | * @param bool $single Optional. If true, return only the first value of the specified meta_key. |
| 525 | 527 | * This parameter has no effect if meta_key is not specified. Default false. |
| 526 | 528 | * @return mixed Single metadata value, or array of values. Null if the value does not exist. |
| 527 | | * False if there's a problem with the parameters passed to the function. |
| | 529 | * False if there's a problem with the parameters passed to the function (non-numeric, zero, |
| | 530 | * or negative value). |
| | 531 | * An empty string if a valid but non-existing object ID is passed. |
| 528 | 532 | */ |
| 529 | 533 | function get_metadata_raw( $meta_type, $object_id, $meta_key = '', $single = false ) { |
| 530 | 534 | if ( ! $meta_type || ! is_numeric( $object_id ) ) { |
IDEA additional info:
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
<+>UTF-8
diff --git a/wp-includes/user.php b/wp-includes/user.php
|
a
|
b
|
|
| 1011 | 1011 | * This parameter has no effect if $key is not specified. |
| 1012 | 1012 | * Default false. |
| 1013 | 1013 | * @return mixed An array if $single is false. The value of meta data field |
| 1014 | | * if $single is true. False for an invalid $user_id. |
| | 1014 | * if $single is true. False for an invalid $user_id (non-numeric, |
| | 1015 | * zero, or negative value). An empty string if a valid but non-existing |
| | 1016 | * user ID is passed. |
| 1015 | 1017 | */ |
| 1016 | 1018 | function get_user_meta( $user_id, $key = '', $single = false ) { |
| 1017 | 1019 | return get_metadata( 'user', $user_id, $key, $single ); |
IDEA additional info:
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
<+>UTF-8
diff --git a/wp-includes/comment.php b/wp-includes/comment.php
|
a
|
b
|
|
| 496 | 496 | * This parameter has no effect if $key is not specified. |
| 497 | 497 | * Default false. |
| 498 | 498 | * @return mixed An array if $single is false. The value of meta data field |
| 499 | | * if $single is true. False for an invalid $comment_id. |
| | 499 | * if $single is true. False for an invalid $comment_id (non-numeric, |
| | 500 | * zero, or negative value). An empty string if a valid but non-existing |
| | 501 | * comment ID is passed. |
| 500 | 502 | */ |
| 501 | 503 | function get_comment_meta( $comment_id, $key = '', $single = false ) { |
| 502 | 504 | return get_metadata( 'comment', $comment_id, $key, $single ); |