mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-03-31 18:54:29 +00:00
Docs: Document that various metadata functions return false for an invalid ID.
Props salcode. See #40519. git-svn-id: https://develop.svn.wordpress.org/trunk@48658 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -496,7 +496,7 @@ function delete_comment_meta( $comment_id, $meta_key, $meta_value = '' ) {
|
||||
* This parameter has no effect if $key is not specified.
|
||||
* Default false.
|
||||
* @return mixed An array if $single is false. The value of meta data field
|
||||
* if $single is true.
|
||||
* if $single is true. False for an invalid $comment_id.
|
||||
*/
|
||||
function get_comment_meta( $comment_id, $key = '', $single = false ) {
|
||||
return get_metadata( 'comment', $comment_id, $key, $single );
|
||||
|
||||
Reference in New Issue
Block a user