[wp-trac] [WordPress Trac] #44535: Reporting a Bug
WordPress Trac
noreply at wordpress.org
Fri Jul 6 14:57:31 UTC 2018
#44535: Reporting a Bug
--------------------------+----------------------
Reporter: fedemodern | Owner: (none)
Type: defect (bug) | Status: closed
Priority: normal | Milestone:
Component: Date/Time | Version:
Severity: normal | Resolution: invalid
Keywords: | Focuses:
--------------------------+----------------------
Changes (by swissspidy):
* status: new => closed
* resolution: => invalid
* component: General => Date/Time
* milestone: Awaiting Review =>
Comment:
Hey there and welcome to WordPress Trac!
To translate your report: You say that when using `the_date()` in a loop,
the date is only shown once when two posts have the same date.
This is ''not a bug''. This is **by design**.
In other words, `the_date()` only works for the newest post in any single
day in the loop. `get_the_date()` always gives you a date.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/44535#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list