Docs: Add missing description for $comment global.

Props immeet94, mukesh27.
Fixes #46928. See #47110.
Built from https://develop.svn.wordpress.org/trunk@46391


git-svn-id: http://core.svn.wordpress.org/trunk@46190 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Sergey Biryukov
2019-10-04 22:19:57 +00:00
parent f34db2aa7e
commit d2a48496d2
8 changed files with 9 additions and 9 deletions

View File

@@ -539,7 +539,7 @@ class WP_Comments_List_Table extends WP_List_Table {
/**
* @global WP_Post $post Global post object.
* @global WP_Comment $comment
* @global WP_Comment $comment Global comment object.
*
* @param WP_Comment $item
*/

View File

@@ -623,7 +623,7 @@ function wp_dashboard_recent_drafts( $drafts = false ) {
* @access private
* @since 2.7.0
*
* @global WP_Comment $comment
* @global WP_Comment $comment Global comment object.
*
* @param WP_Comment $comment The current comment.
* @param bool $show_date Optional. Whether to display the date.