mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-07-02 00:00:15 +00:00
Docs: Improve documentation for the_date() and the_weekday_date().
Correct type for `$currentday` and `$previousday` globals. See #47354, #47110. git-svn-id: https://develop.svn.wordpress.org/trunk@45377 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -4169,15 +4169,15 @@ class WP_Query {
|
||||
* @since 4.1.0
|
||||
* @since 4.4.0 Added the ability to pass a post ID to `$post`.
|
||||
*
|
||||
* @global int $id
|
||||
* @global WP_User $authordata
|
||||
* @global string|int|bool $currentday
|
||||
* @global string|int|bool $currentmonth
|
||||
* @global int $page
|
||||
* @global array $pages
|
||||
* @global int $multipage
|
||||
* @global int $more
|
||||
* @global int $numpages
|
||||
* @global int $id
|
||||
* @global WP_User $authordata
|
||||
* @global string $currentday
|
||||
* @global string $currentmonth
|
||||
* @global int $page
|
||||
* @global array $pages
|
||||
* @global int $multipage
|
||||
* @global int $more
|
||||
* @global int $numpages
|
||||
*
|
||||
* @param WP_Post|object|int $post WP_Post instance or Post ID/object.
|
||||
* @return true True when finished.
|
||||
|
||||
Reference in New Issue
Block a user