Docs: Further corrections and promotions for docblocks relating to object types.

See #50768


git-svn-id: https://develop.svn.wordpress.org/trunk@49197 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
John Blackbourn
2020-10-18 20:52:01 +00:00
parent 89a402c49c
commit ef8b5078f6
10 changed files with 29 additions and 29 deletions

View File

@@ -37,7 +37,7 @@ function get_query_var( $var, $default = '' ) {
*
* @global WP_Query $wp_query WordPress Query object.
*
* @return object Queried object.
* @return WP_Term|WP_Post_Type|WP_Post|WP_User|null The queried object.
*/
function get_queried_object() {
global $wp_query;
@@ -996,7 +996,7 @@ function have_comments() {
*
* @global WP_Query $wp_query WordPress Query object.
*
* @return object
* @return null
*/
function the_comment() {
global $wp_query;