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
|
|
2219 | 2219 | * @param bool $single Optional. Whether to return a single value. |
2220 | 2220 | * This parameter has no effect if $key is not specified. |
2221 | 2221 | * Default false. |
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. |
| 2222 | * @return mixed An array of values, or single metadata value if $single is true. |
| 2223 | * An empty array or empty string if nothing is found. |
| 2224 | * False if there's a problem with the value of $post_id. |
2224 | 2225 | */ |
2225 | 2226 | function get_post_meta( $post_id, $key = '', $single = false ) { |
2226 | 2227 | 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
|
|
1307 | 1307 | * @param bool $single Optional. Whether to return a single value. |
1308 | 1308 | * This parameter has no effect if $key is not specified. |
1309 | 1309 | * Default false. |
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. |
| 1310 | * @return mixed An array of values, or single metadata value if $single is true. |
| 1311 | * An empty array or empty string if nothing is found. |
| 1312 | * False if there's a problem with the value of $term_id. |
1312 | 1313 | */ |
1313 | 1314 | function get_term_meta( $term_id, $key = '', $single = false ) { |
1314 | 1315 | 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
|
|
1086 | 1086 | * @param bool $single Optional. Whether to return a single value. |
1087 | 1087 | * This parameter has no effect if $key is not specified. |
1088 | 1088 | * Default false. |
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. |
| 1089 | * @return mixed An array of values, or single metadata value if $single is true. |
| 1090 | * An empty array or empty string if nothing is found. |
| 1091 | * False if there's a problem with the value of $site_id. |
1091 | 1092 | */ |
1092 | 1093 | function get_site_meta( $site_id, $key = '', $single = false ) { |
1093 | 1094 | 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/user.php b/wp-includes/user.php
a
|
b
|
|
1010 | 1010 | * @param bool $single Optional. Whether to return a single value. |
1011 | 1011 | * This parameter has no effect if $key is not specified. |
1012 | 1012 | * Default false. |
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. |
| 1013 | * @return mixed An array of values, or single metadata value if $single is true. |
| 1014 | * An empty array or empty string if nothing is found. |
| 1015 | * False if there's a problem with the value of $user_id. |
1015 | 1016 | */ |
1016 | 1017 | function get_user_meta( $user_id, $key = '', $single = false ) { |
1017 | 1018 | 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
|
|
495 | 495 | * @param bool $single Optional. Whether to return a single value. |
496 | 496 | * This parameter has no effect if $key is not specified. |
497 | 497 | * Default false. |
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. |
| 498 | * @return mixed An array of values, or single metadata value if $single is true. |
| 499 | * An empty array or empty string if nothing is found. |
| 500 | * False if there's a problem with the value of $comment_id. |
500 | 501 | */ |
501 | 502 | function get_comment_meta( $comment_id, $key = '', $single = false ) { |
502 | 503 | return get_metadata( 'comment', $comment_id, $key, $single ); |