WordPress.org

Make WordPress Core


Ignore:
Timestamp:
01/03/2021 10:02:13 PM (11 months ago)
Author:
johnbillion
Message:

Docs: Promote many bool types to true or false where only that value is used.

See #51800

File:
1 edited

Legend:

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

    r49926 r49927  
    455455 * @param bool   $unique     Optional. Whether the same key should not be added.
    456456 *                           Default false.
    457  * @return int|bool Meta ID on success, false on failure.
     457 * @return int|false Meta ID on success, false on failure.
    458458 */
    459459function add_comment_meta( $comment_id, $meta_key, $meta_value, $unique = false ) {
Note: See TracChangeset for help on using the changeset viewer.