WordPress.org

Make WordPress Core

Changeset 12421


Ignore:
Timestamp:
12/16/2009 10:14:41 PM (12 years ago)
Author:
westi
Message:

Fix phpDoc for Comment Meta functions to refer to comments not posts. See #11462 props sirzooro.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.9/wp-includes/comment.php

    r12391 r12421  
    372372 * Add meta data field to a comment.
    373373 *
    374  * Post meta data is called "Custom Fields" on the Administration Panels.
    375  *
    376374 * @since 2.9
    377375 * @uses add_metadata
    378376 * @link http://codex.wordpress.org/Function_Reference/add_comment_meta
    379377 *
    380  * @param int $comment_id Post ID.
     378 * @param int $comment_id Comment ID.
    381379 * @param string $key Metadata name.
    382380 * @param mixed $value Metadata value.
     
    415413 * @link http://codex.wordpress.org/Function_Reference/get_comment_meta
    416414 *
    417  * @param int $comment_id Post ID.
     415 * @param int $comment_id Comment ID.
    418416 * @param string $key The meta key to retrieve.
    419417 * @param bool $single Whether to return a single value.
     
    437435 * @link http://codex.wordpress.org/Function_Reference/update_comment_meta
    438436 *
    439  * @param int $comment_id Post ID.
     437 * @param int $comment_id Comment ID.
    440438 * @param string $key Metadata key.
    441439 * @param mixed $value Metadata value.
Note: See TracChangeset for help on using the changeset viewer.