Make WordPress Core


Ignore:
Timestamp:
08/21/2013 09:10:23 PM (11 years ago)
Author:
wonderboymusic
Message:

Improve inline docs for function params that can be serialized when non-scalar. Fixes #18488.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/post.php

    r25050 r25076  
    16721672 * @param int $post_id Post ID.
    16731673 * @param string $meta_key Metadata name.
    1674  * @param mixed $meta_value Metadata value.
     1674 * @param mixed $meta_value Metadata value. Must be serializable if non-scalar.
    16751675 * @param bool $unique Optional, default is false. Whether the same key should not be added.
    16761676 * @return int|bool Meta ID on success, false on failure.
     
    16961696 * @param int $post_id post ID
    16971697 * @param string $meta_key Metadata name.
    1698  * @param mixed $meta_value Optional. Metadata value.
     1698 * @param mixed $meta_value Optional. Metadata value. Must be serializable if non-scalar.
    16991699 * @return bool True on success, false on failure.
    17001700 */
     
    17361736 * @param int $post_id Post ID.
    17371737 * @param string $meta_key Metadata key.
    1738  * @param mixed $meta_value Metadata value.
     1738 * @param mixed $meta_value Metadata value. Must be serializable if non-scalar.
    17391739 * @param mixed $prev_value Optional. Previous value to check before removing.
    17401740 * @return bool True on success, false on failure.
Note: See TracChangeset for help on using the changeset viewer.