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:
Sergey Biryukov
2019-08-04 12:27:02 +00:00
parent b440cd966f
commit 7a6f44b979
17 changed files with 24 additions and 23 deletions
+2 -2
View File
@@ -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 ) ) {