Make WordPress Core


Ignore:
Timestamp:
10/18/2020 08:52:01 PM (4 years ago)
Author:
johnbillion
Message:

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

See #50768

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/query.php

    r49095 r49197  
    3838 * @global WP_Query $wp_query WordPress Query object.
    3939 *
    40  * @return object Queried object.
     40 * @return WP_Term|WP_Post_Type|WP_Post|WP_User|null The queried object.
    4141 */
    4242function get_queried_object() {
     
    997997 * @global WP_Query $wp_query WordPress Query object.
    998998 *
    999  * @return object
     999 * @return null
    10001000 */
    10011001function the_comment() {
Note: See TracChangeset for help on using the changeset viewer.