Changeset 27191
- Timestamp:
- 02/18/2014 09:35:07 PM (10 years ago)
- Location:
- trunk/src/wp-includes
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/comment.php
r27115 r27191 649 649 * @param mixed $meta_value Metadata value. 650 650 * @param mixed $prev_value Optional. Previous value to check before removing. 651 * @return bool True on success, false on failure.651 * @return int|bool Meta ID if the key didn't exist, true on successful update, false on failure. 652 652 */ 653 653 function update_comment_meta($comment_id, $meta_key, $meta_value, $prev_value = '') { -
trunk/src/wp-includes/meta.php
r26307 r27191 27 27 * unique for the object. If true, and the object already has a value for the specified 28 28 * metadata key, no change will be made 29 * @return int|bool The meta ID on success ful update, false on failure.29 * @return int|bool The meta ID on success, false on failure. 30 30 */ 31 31 function add_metadata($meta_type, $object_id, $meta_key, $meta_value, $unique = false) { … … 97 97 * @param mixed $prev_value Optional. If specified, only update existing metadata entries with 98 98 * the specified value. Otherwise, update all entries. 99 * @return bool True on successful update, false on failure.99 * @return int|bool Meta ID if the key didn't exist, true on successful update, false on failure. 100 100 */ 101 101 function update_metadata($meta_type, $object_id, $meta_key, $meta_value, $prev_value = '') { -
trunk/src/wp-includes/post.php
r27138 r27191 1790 1790 * @param mixed $meta_value Metadata value. Must be serializable if non-scalar. 1791 1791 * @param mixed $prev_value Optional. Previous value to check before removing. 1792 * @return bool True on success, false on failure.1792 * @return int|bool Meta ID if the key didn't exist, true on successful update, false on failure. 1793 1793 */ 1794 1794 function update_post_meta($post_id, $meta_key, $meta_value, $prev_value = '') { -
trunk/src/wp-includes/user.php
r27185 r27191 994 994 * @param mixed $meta_value Metadata value. 995 995 * @param mixed $prev_value Optional. Previous value to check before removing. 996 * @return bool True on success, false on failure.996 * @return int|bool Meta ID if the key didn't exist, true on successful update, false on failure. 997 997 */ 998 998 function update_user_meta($user_id, $meta_key, $meta_value, $prev_value = '') {
Note: See TracChangeset
for help on using the changeset viewer.