WordPress.org

Make WordPress Core

Ticket #16965: comment_meta_doc.diff

File comment_meta_doc.diff, 834 bytes (added by nprasath002, 7 years ago)
  • (a) Base vs. (b) Locally

    # This patch file was generated by NetBeans IDE
    # It uses platform neutral UTF-8 encoding and \n newlines.
    a b  
    527527 * @link http://codex.wordpress.org/Function_Reference/get_comment_meta
    528528 *
    529529 * @param int $comment_id Comment ID.
    530  * @param string $key The meta key to retrieve.
    531  * @param bool $single Whether to return a single value.
     530 * @param string $meta_key Optional.  Metadata key.  If not specified, retrieve all metadata for
     531 *              the specified comment.
     532 * @param bool $single Optional, default is false.  If true, return only the first value of the
     533 *              specified meta_key.  This parameter has no effect if meta_key is not specified.
    532534 * @return mixed Will be an array if $single is false. Will be value of meta data field if $single
    533535 *  is true.
    534536 */