mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-04-07 14:14:36 +00:00
Docs: Promote many bool types to true or false where only that value is used.
See #51800 git-svn-id: https://develop.svn.wordpress.org/trunk@49927 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -454,7 +454,7 @@ function get_comment_count( $post_id = 0 ) {
|
||||
* @param mixed $meta_value Metadata value. Must be serializable if non-scalar.
|
||||
* @param bool $unique Optional. Whether the same key should not be added.
|
||||
* Default false.
|
||||
* @return int|bool Meta ID on success, false on failure.
|
||||
* @return int|false Meta ID on success, false on failure.
|
||||
*/
|
||||
function add_comment_meta( $comment_id, $meta_key, $meta_value, $unique = false ) {
|
||||
return add_metadata( 'comment', $comment_id, $meta_key, $meta_value, $unique );
|
||||
|
||||
Reference in New Issue
Block a user