- Timestamp:
- 04/22/2020 09:38:12 AM (5 years ago)
- Location:
- trunk/src/wp-includes
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/comment.php
r47597 r47610 451 451 * @param string $meta_key Metadata name. 452 452 * @param mixed $meta_value Metadata value. 453 * @param bool $unique Optional , default is false. Whether the same key should not be added.453 * @param bool $unique Optional. Whether the same key should not be added. Default false. 454 454 * @return int|bool Meta ID on success, false on failure. 455 455 */ … … 485 485 * @param int $comment_id Comment ID. 486 486 * @param string $key Optional. The meta key to retrieve. By default, returns data for all keys. 487 * @param bool $single Whether to return a single value.487 * @param bool $single Optional. Whether to return a single value. Default false. 488 488 * @return mixed Will be an array if $single is false. Will be value of meta data field if $single 489 489 * is true. … … 507 507 * @param string $meta_key Metadata key. 508 508 * @param mixed $meta_value Metadata value. 509 * @param mixed $prev_value Optional. Previous value to check before removing.509 * @param mixed $prev_value Optional. Previous value to check before updating. Default empty. 510 510 * @return int|bool Meta ID if the key didn't exist, true on successful update, false on failure. 511 511 */ -
trunk/src/wp-includes/meta.php
r47390 r47610 150 150 * @param mixed $meta_value Metadata value. Must be serializable if non-scalar. 151 151 * @param mixed $prev_value Optional. If specified, only update existing metadata entries 152 * with this value. Otherwise, update all entries. 152 * with this value. Otherwise, update all entries. Default empty. 153 153 * @return int|bool The new meta field ID if a field with the given key didn't exist and was 154 154 * therefore added, true on successful update, false on failure. -
trunk/src/wp-includes/ms-site.php
r47198 r47610 1097 1097 * @param string $meta_key Metadata key. 1098 1098 * @param mixed $meta_value Metadata value. Must be serializable if non-scalar. 1099 * @param mixed $prev_value Optional. Previous value to check before removing.1099 * @param mixed $prev_value Optional. Previous value to check before updating. 1100 1100 * Default empty. 1101 1101 * @return int|bool Meta ID if the key didn't exist, true on successful update, -
trunk/src/wp-includes/post.php
r47582 r47610 2137 2137 * @param string $meta_key Metadata key. 2138 2138 * @param mixed $meta_value Metadata value. Must be serializable if non-scalar. 2139 * @param mixed $prev_value Optional. Previous value to check before updating. 2139 * @param mixed $prev_value Optional. Previous value to check before updating. Default empty. 2140 2140 * @return int|bool The new meta field ID if a field with the given key didn't exist and was 2141 2141 * therefore added, true on successful update, false on failure. -
trunk/src/wp-includes/taxonomy.php
r47578 r47610 1247 1247 * @param int $term_id Term ID. 1248 1248 * @param string $key Optional. The meta key to retrieve. If no key is provided, fetches all metadata for the term. 1249 * @param bool $single Whether to return a single value. If false, an array of all values matching the1250 * `$term_id`/`$key` pair will be returned. Default :false.1249 * @param bool $single Optional. Whether to return a single value. If false, an array of all values matching the 1250 * `$term_id`/`$key` pair will be returned. Default false. 1251 1251 * @return mixed If `$single` is false, an array of metadata values. If `$single` is true, a single metadata value. 1252 1252 */ … … 1267 1267 * @param string $meta_key Metadata key. 1268 1268 * @param mixed $meta_value Metadata value. 1269 * @param mixed $prev_value Optional. Previous value to check before removing.1269 * @param mixed $prev_value Optional. Previous value to check before updating. Default empty. 1270 1270 * @return int|WP_Error|bool Meta ID if the key didn't previously exist. True on successful update. 1271 1271 * WP_Error when term_id is ambiguous between taxonomies. False on failure. -
trunk/src/wp-includes/user.php
r47550 r47610 822 822 * @param int $user_id User ID. 823 823 * @param string $key Optional. The meta key to retrieve. By default, returns data for all keys. 824 * @param bool $single Whether to return a single value.824 * @param bool $single Optional. Whether to return a single value. Default false. 825 825 * @return mixed Will be an array if $single is false. Will be value of meta data field if $single is true. 826 826 */ … … 843 843 * @param string $meta_key Metadata key. 844 844 * @param mixed $meta_value Metadata value. 845 * @param mixed $prev_value Optional. Previous value to check before removing.845 * @param mixed $prev_value Optional. Previous value to check before updating. Default empty. 846 846 * @return int|bool Meta ID if the key didn't exist, true on successful update, false on failure. 847 847 */
Note: See TracChangeset
for help on using the changeset viewer.