mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-11 20:30:23 +00:00
Docs: Add missing description for $post global.
Props immeet94. Fixes #46503. See #47110. git-svn-id: https://develop.svn.wordpress.org/trunk@45742 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -3259,7 +3259,7 @@ class WP_Query {
|
||||
*
|
||||
* @since 1.5.0
|
||||
*
|
||||
* @global WP_Post $post
|
||||
* @global WP_Post $post Global post object.
|
||||
*/
|
||||
public function the_post() {
|
||||
global $post;
|
||||
@@ -4326,7 +4326,7 @@ class WP_Query {
|
||||
*
|
||||
* @since 3.7.0
|
||||
*
|
||||
* @global WP_Post $post
|
||||
* @global WP_Post $post Global post object.
|
||||
*/
|
||||
public function reset_postdata() {
|
||||
if ( ! empty( $this->post ) ) {
|
||||
|
||||
Reference in New Issue
Block a user