Make WordPress Core


Ignore:
Timestamp:
07/28/2020 10:13:50 AM (4 years ago)
Author:
SergeyBiryukov
Message:

Docs: Document that various metadata functions return false for an invalid ID.

Props salcode.
See #40519.

File:
1 edited

Legend:

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

    r48591 r48658  
    497497 *                           Default false.
    498498 * @return mixed An array if $single is false. The value of meta data field
    499  *               if $single is true.
     499 *               if $single is true. False for an invalid $comment_id.
    500500 */
    501501function get_comment_meta( $comment_id, $key = '', $single = false ) {
Note: See TracChangeset for help on using the changeset viewer.