Changeset 43557 for branches/4.9
- Timestamp:
- 08/08/2018 04:27:34 PM (6 years ago)
- Location:
- branches/4.9/src/wp-includes
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/4.9/src/wp-includes/class-wp-term-query.php
r43492 r43557 173 173 * @type string $meta_value Limit terms to those matching a specific metadata value. 174 174 * Usually used in conjunction with `$meta_key`. Default empty. 175 * @type string $meta_type Type of object metadata is for (e.g., comment, post, or user).175 * @type string $meta_type Type of object metadata is for (e.g., comment, post, term, or user). 176 176 * Default empty. 177 177 * @type string $meta_compare Comparison operator to test the 'meta_value'. Default empty. -
branches/4.9/src/wp-includes/meta.php
r43510 r43557 18 18 * @global wpdb $wpdb WordPress database abstraction object. 19 19 * 20 * @param string $meta_type Type of object metadata is for (e.g., comment, post, or user)20 * @param string $meta_type Type of object metadata is for (e.g., comment, post, term, or user). 21 21 * @param int $object_id ID of the object metadata is for 22 22 * @param string $meta_key Metadata key … … 58 58 * 59 59 * The dynamic portion of the hook, `$meta_type`, refers to the meta 60 * object type (comment, post, or user). Returning a non-null value60 * object type (comment, post, term, or user). Returning a non-null value 61 61 * will effectively short-circuit the function. 62 62 * … … 86 86 * 87 87 * The dynamic portion of the hook, `$meta_type`, refers to the meta 88 * object type (comment, post, or user).88 * object type (comment, post, term, or user). 89 89 * 90 90 * @since 3.1.0 … … 113 113 * 114 114 * The dynamic portion of the hook, `$meta_type`, refers to the meta 115 * object type (comment, post, or user).115 * object type (comment, post, term, or user). 116 116 * 117 117 * @since 2.9.0 … … 135 135 * @global wpdb $wpdb WordPress database abstraction object. 136 136 * 137 * @param string $meta_type Type of object metadata is for (e.g., comment, post, or user)137 * @param string $meta_type Type of object metadata is for (e.g., comment, post, term, or user). 138 138 * @param int $object_id ID of the object metadata is for 139 139 * @param string $meta_key Metadata key … … 176 176 * 177 177 * The dynamic portion of the hook, `$meta_type`, refers to the meta 178 * object type (comment, post, or user). Returning a non-null value178 * object type (comment, post, term, or user). Returning a non-null value 179 179 * will effectively short-circuit the function. 180 180 * … … 223 223 * 224 224 * The dynamic portion of the hook, `$meta_type`, refers to the meta 225 * object type (comment, post, or user).225 * object type (comment, post, term, or user). 226 226 * 227 227 * @since 2.9.0 … … 260 260 * 261 261 * The dynamic portion of the hook, `$meta_type`, refers to the meta 262 * object type (comment, post, or user).262 * object type (comment, post, term, or user). 263 263 * 264 264 * @since 2.9.0 … … 296 296 * @global wpdb $wpdb WordPress database abstraction object. 297 297 * 298 * @param string $meta_type Type of object metadata is for (e.g., comment, post, or user)298 * @param string $meta_type Type of object metadata is for (e.g., comment, post, term, or user). 299 299 * @param int $object_id ID of the object metadata is for 300 300 * @param string $meta_key Metadata key … … 336 336 * 337 337 * The dynamic portion of the hook, `$meta_type`, refers to the meta 338 * object type (comment, post, or user). Returning a non-null value338 * object type (comment, post, term, or user). Returning a non-null value 339 339 * will effectively short-circuit the function. 340 340 * … … 380 380 * 381 381 * The dynamic portion of the hook, `$meta_type`, refers to the meta 382 * object type (comment, post, or user).382 * object type (comment, post, term, or user). 383 383 * 384 384 * @since 3.1.0 … … 422 422 * 423 423 * The dynamic portion of the hook name, `$meta_type`, refers to the meta 424 * object type (comment, post, or user).424 * object type (comment, post, term, or user). 425 425 * 426 426 * @since 2.9.0 … … 453 453 * @since 2.9.0 454 454 * 455 * @param string $meta_type Type of object metadata is for (e.g., comment, post, or user)455 * @param string $meta_type Type of object metadata is for (e.g., comment, post, term, or user). 456 456 * @param int $object_id ID of the object metadata is for 457 457 * @param string $meta_key Optional. Metadata key. If not specified, retrieve all metadata for … … 476 476 * 477 477 * The dynamic portion of the hook, `$meta_type`, refers to the meta 478 * object type (comment, post, or user). Returning a non-null value478 * object type (comment, post, term, or user). Returning a non-null value 479 479 * will effectively short-circuit the function. 480 480 * … … 524 524 * @since 3.3.0 525 525 * 526 * @param string $meta_type Type of object metadata is for (e.g., comment, post, or user)526 * @param string $meta_type Type of object metadata is for (e.g., comment, post, term, or user). 527 527 * @param int $object_id ID of the object metadata is for 528 528 * @param string $meta_key Metadata key. … … 605 605 * @global wpdb $wpdb WordPress database abstraction object. 606 606 * 607 * @param string $meta_type Type of object metadata is for (e.g., comment, post, or user)607 * @param string $meta_type Type of object metadata is for (e.g., comment, post, term, or user). 608 608 * @param int $meta_id ID for a specific meta row 609 609 * @param string $meta_value Metadata value … … 787 787 * @global wpdb $wpdb WordPress database abstraction object. 788 788 * 789 * @param string $meta_type Type of object metadata is for (e.g., comment, post, or user)789 * @param string $meta_type Type of object metadata is for (e.g., comment, post, term, or user). 790 790 * @param int|array $object_ids Array or comma delimited list of object IDs to update cache for 791 791 * @return array|false Metadata cache for the specified objects, or false on failure. … … 900 900 * @global wpdb $wpdb WordPress database abstraction object. 901 901 * 902 * @param string $type Type of object to get metadata table for (e.g., comment, post, or user)902 * @param string $type Type of object to get metadata table for (e.g., comment, post, term, or user). 903 903 * @return string|false Metadata table name, or false if no metadata table exists 904 904 */ … … 919 919 * @since 3.1.3 920 920 * 921 * @param string $meta_key Meta key 922 * @param string|null $meta_type 921 * @param string $meta_key Meta key 922 * @param string|null $meta_type Optional. Type of object metadata is for (e.g., comment, post, 923 * term, or user). 923 924 * @return bool True if the key is protected, false otherwise. 924 925 */ … … 933 934 * @param bool $protected Whether the key is protected. Default false. 934 935 * @param string $meta_key Meta key. 935 * @param string $meta_type Meta type.936 * @param string $meta_type Type of object metadata is for (e.g., comment, post, term, or user). 936 937 */ 937 938 return apply_filters( 'is_protected_meta', $protected, $meta_key, $meta_type ); … … 974 975 * 975 976 * The dynamic portions of the hook name, `$meta_type`, and `$meta_key`, 976 * refer to the metadata object type (comment, post, or user) and the meta977 * refer to the metadata object type (comment, post, term, or user) and the meta 977 978 * key value, respectively. 978 979 *
Note: See TracChangeset
for help on using the changeset viewer.