Changeset 58962
- Timestamp:
- 09/01/2024 06:28:22 PM (12 days ago)
- Location:
- trunk/src/wp-includes
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/comment.php
r58401 r58962 480 480 * The value of meta data field if `$single` is true. 481 481 * False for an invalid `$comment_id` (non-numeric, zero, or negative value). 482 * An empty string if a valid but non-existing comment ID is passed. 482 * An empty array if a valid but non-existing comment ID is passed and `$single` is false. 483 * An empty string if a valid but non-existing comment ID is passed and `$single` is true. 483 484 */ 484 485 function get_comment_meta( $comment_id, $key = '', $single = false ) { -
trunk/src/wp-includes/meta.php
r56714 r58962 569 569 * False for an invalid `$object_id` (non-numeric, zero, or negative value), 570 570 * or if `$meta_type` is not specified. 571 * An empty string if a valid but non-existing object ID is passed. 571 * An empty array if a valid but non-existing object ID is passed and `$single` is false. 572 * An empty string if a valid but non-existing object ID is passed and `$single` is true. 572 573 */ 573 574 function get_metadata( $meta_type, $object_id, $meta_key = '', $single = false ) { -
trunk/src/wp-includes/ms-site.php
r58097 r58962 1070 1070 * The value of meta data field if `$single` is true. 1071 1071 * False for an invalid `$site_id` (non-numeric, zero, or negative value). 1072 * An empty string if a valid but non-existing site ID is passed. 1072 * An empty array if a valid but non-existing site ID is passed and `$single` is false. 1073 * An empty string if a valid but non-existing site ID is passed and `$single` is true. 1073 1074 */ 1074 1075 function get_site_meta( $site_id, $key = '', $single = false ) { -
trunk/src/wp-includes/post.php
r58849 r58962 2608 2608 * The value of the meta field if `$single` is true. 2609 2609 * False for an invalid `$post_id` (non-numeric, zero, or negative value). 2610 * An empty string if a valid but non-existing post ID is passed. 2610 * An empty array if a valid but non-existing post ID is passed and `$single` is false. 2611 * An empty string if a valid but non-existing post ID is passed and `$single` is true. 2611 2612 */ 2612 2613 function get_post_meta( $post_id, $key = '', $single = false ) { -
trunk/src/wp-includes/taxonomy.php
r58427 r58962 1431 1431 * The value of the meta field if `$single` is true. 1432 1432 * False for an invalid `$term_id` (non-numeric, zero, or negative value). 1433 * An empty string if a valid but non-existing term ID is passed. 1433 * An empty array if a valid but non-existing term ID is passed and `$single` is false. 1434 * An empty string if a valid but non-existing term ID is passed and `$single` is true. 1434 1435 */ 1435 1436 function get_term_meta( $term_id, $key = '', $single = false ) { -
trunk/src/wp-includes/user.php
r58955 r58962 1186 1186 * The value of meta data field if `$single` is true. 1187 1187 * False for an invalid `$user_id` (non-numeric, zero, or negative value). 1188 * An empty string if a valid but non-existing user ID is passed. 1188 * An empty array if a valid but non-existing user ID is passed and `$single` is false. 1189 * An empty string if a valid but non-existing user ID is passed and `$single` is true. 1189 1190 */ 1190 1191 function get_user_meta( $user_id, $key = '', $single = false ) {
Note: See TracChangeset
for help on using the changeset viewer.