Ticket #11462: comment.php.diff
File comment.php.diff, 1.3 KB (added by , 14 years ago) |
---|
-
comment.php
old new 371 371 /** 372 372 * Add meta data field to a comment. 373 373 * 374 * Post meta data is called "Custom Fields" on the Administration Panels.375 *376 374 * @since 2.9 377 375 * @uses add_metadata 378 376 * @link http://codex.wordpress.org/Function_Reference/add_comment_meta 379 377 * 380 * @param int $comment_id Post ID.378 * @param int $comment_id Comment ID. 381 379 * @param string $key Metadata name. 382 380 * @param mixed $value Metadata value. 383 381 * @param bool $unique Optional, default is false. Whether the same key should not be added. … … 414 412 * @uses get_metadata 415 413 * @link http://codex.wordpress.org/Function_Reference/get_comment_meta 416 414 * 417 * @param int $comment_id Post ID.415 * @param int $comment_id Comment ID. 418 416 * @param string $key The meta key to retrieve. 419 417 * @param bool $single Whether to return a single value. 420 418 * @return mixed Will be an array if $single is false. Will be value of meta data field if $single … … 436 434 * @uses update_metadata 437 435 * @link http://codex.wordpress.org/Function_Reference/update_comment_meta 438 436 * 439 * @param int $comment_id Post ID.437 * @param int $comment_id Comment ID. 440 438 * @param string $key Metadata key. 441 439 * @param mixed $value Metadata value. 442 440 * @param mixed $prev_value Optional. Previous value to check before removing.