mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-03-31 18:54:29 +00:00
Docs: Remove unnecessary variables names from @return tags.
See #49572. git-svn-id: https://develop.svn.wordpress.org/trunk@48100 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -156,8 +156,8 @@ function check_comment( $author, $email, $url, $comment, $user_ip, $user_agent,
|
||||
*
|
||||
* @param int $post_id The ID of the post.
|
||||
* @param array $args Optional. See WP_Comment_Query::__construct() for information on accepted arguments.
|
||||
* @return int|array $comments The approved comments, or number of comments if `$count`
|
||||
* argument is true.
|
||||
* @return int|array The approved comments, or number of comments if `$count`
|
||||
* argument is true.
|
||||
*/
|
||||
function get_approved_comments( $post_id, $args = array() ) {
|
||||
if ( ! $post_id ) {
|
||||
|
||||
Reference in New Issue
Block a user