- Timestamp:
- 08/08/2018 09:44:31 PM (6 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk
- Property svn:mergeinfo changed
/branches/4.9 (added) merged: 43557
- Property svn:mergeinfo changed
-
trunk/src/wp-includes/meta.php
r43521 r43560 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 * … … 91 91 * 92 92 * The dynamic portion of the hook, `$meta_type`, refers to the meta 93 * object type (comment, post, or user).93 * object type (comment, post, term, or user). 94 94 * 95 95 * @since 3.1.0 … … 121 121 * 122 122 * The dynamic portion of the hook, `$meta_type`, refers to the meta 123 * object type (comment, post, or user).123 * object type (comment, post, term, or user). 124 124 * 125 125 * @since 2.9.0 … … 143 143 * @global wpdb $wpdb WordPress database abstraction object. 144 144 * 145 * @param string $meta_type Type of object metadata is for (e.g., comment, post, or user)145 * @param string $meta_type Type of object metadata is for (e.g., comment, post, term, or user). 146 146 * @param int $object_id ID of the object metadata is for 147 147 * @param string $meta_key Metadata key … … 184 184 * 185 185 * The dynamic portion of the hook, `$meta_type`, refers to the meta 186 * object type (comment, post, or user). Returning a non-null value186 * object type (comment, post, term, or user). Returning a non-null value 187 187 * will effectively short-circuit the function. 188 188 * … … 236 236 * 237 237 * The dynamic portion of the hook, `$meta_type`, refers to the meta 238 * object type (comment, post, or user).238 * object type (comment, post, term, or user). 239 239 * 240 240 * @since 2.9.0 … … 274 274 * 275 275 * The dynamic portion of the hook, `$meta_type`, refers to the meta 276 * object type (comment, post, or user).276 * object type (comment, post, term, or user). 277 277 * 278 278 * @since 2.9.0 … … 310 310 * @global wpdb $wpdb WordPress database abstraction object. 311 311 * 312 * @param string $meta_type Type of object metadata is for (e.g., comment, post, or user)312 * @param string $meta_type Type of object metadata is for (e.g., comment, post, term, or user). 313 313 * @param int $object_id ID of the object metadata is for 314 314 * @param string $meta_key Metadata key … … 350 350 * 351 351 * The dynamic portion of the hook, `$meta_type`, refers to the meta 352 * object type (comment, post, or user). Returning a non-null value352 * object type (comment, post, term, or user). Returning a non-null value 353 353 * will effectively short-circuit the function. 354 354 * … … 398 398 * 399 399 * The dynamic portion of the hook, `$meta_type`, refers to the meta 400 * object type (comment, post, or user).400 * object type (comment, post, term, or user). 401 401 * 402 402 * @since 3.1.0 … … 441 441 * 442 442 * The dynamic portion of the hook name, `$meta_type`, refers to the meta 443 * object type (comment, post, or user).443 * object type (comment, post, term, or user). 444 444 * 445 445 * @since 2.9.0 … … 472 472 * @since 2.9.0 473 473 * 474 * @param string $meta_type Type of object metadata is for (e.g., comment, post, or user)474 * @param string $meta_type Type of object metadata is for (e.g., comment, post, term, or user). 475 475 * @param int $object_id ID of the object metadata is for 476 476 * @param string $meta_key Optional. Metadata key. If not specified, retrieve all metadata for … … 495 495 * 496 496 * The dynamic portion of the hook, `$meta_type`, refers to the meta 497 * object type (comment, post, or user). Returning a non-null value497 * object type (comment, post, term, or user). Returning a non-null value 498 498 * will effectively short-circuit the function. 499 499 * … … 546 546 * @since 3.3.0 547 547 * 548 * @param string $meta_type Type of object metadata is for (e.g., comment, post, or user)548 * @param string $meta_type Type of object metadata is for (e.g., comment, post, term, or user). 549 549 * @param int $object_id ID of the object metadata is for 550 550 * @param string $meta_key Metadata key. … … 631 631 * @global wpdb $wpdb WordPress database abstraction object. 632 632 * 633 * @param string $meta_type Type of object metadata is for (e.g., comment, post, or user)633 * @param string $meta_type Type of object metadata is for (e.g., comment, post, term, or user). 634 634 * @param int $meta_id ID for a specific meta row 635 635 * @param string $meta_value Metadata value … … 814 814 * @global wpdb $wpdb WordPress database abstraction object. 815 815 * 816 * @param string $meta_type Type of object metadata is for (e.g., comment, post, or user)816 * @param string $meta_type Type of object metadata is for (e.g., comment, post, term, or user). 817 817 * @param int|array $object_ids Array or comma delimited list of object IDs to update cache for 818 818 * @return array|false Metadata cache for the specified objects, or false on failure. … … 932 932 * @global wpdb $wpdb WordPress database abstraction object. 933 933 * 934 * @param string $type Type of object to get metadata table for (e.g., comment, post, or user)934 * @param string $type Type of object to get metadata table for (e.g., comment, post, term, or user). 935 935 * @return string|false Metadata table name, or false if no metadata table exists 936 936 */ … … 953 953 * 954 954 * @param string $meta_key Meta key. 955 * @param string|null $meta_type Optional. Type of object metadata is for (e.g., comment, post, or user).955 * @param string|null $meta_type Optional. Type of object metadata is for (e.g., comment, post, term, or user). 956 956 * @return bool Whether the meta key is considered protected. 957 957 */ … … 966 966 * @param bool $protected Whether the key is considered protected. 967 967 * @param string $meta_key Meta key. 968 * @param string|null $meta_type Type of object metadata is for (e.g., comment, post, or user).968 * @param string|null $meta_type Type of object metadata is for (e.g., comment, post, term, or user). 969 969 */ 970 970 return apply_filters( 'is_protected_meta', $protected, $meta_key, $meta_type ); … … 991 991 * 992 992 * The dynamic portions of the hook name, `$object_type`, `$meta_key`, 993 * and `$object_subtype`, refer to the metadata object type (comment, post, term or user),993 * and `$object_subtype`, refer to the metadata object type (comment, post, term, or user), 994 994 * the meta key value, and the object subtype respectively. 995 995 * … … 1008 1008 * 1009 1009 * The dynamic portions of the hook name, `$meta_type`, and `$meta_key`, 1010 * refer to the metadata object type (comment, post, or user) and the meta1010 * refer to the metadata object type (comment, post, term, or user) and the meta 1011 1011 * key value, respectively. 1012 1012 *
Note: See TracChangeset
for help on using the changeset viewer.