Changeset 27191 for trunk/src/wp-includes/meta.php
- Timestamp:
- 02/18/2014 09:35:07 PM (12 years ago)
- File:
-
- 1 edited
-
trunk/src/wp-includes/meta.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
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 = '') {
Note: See TracChangeset
for help on using the changeset viewer.