mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-04-01 19:24:34 +00:00
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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user