[wp-trac] [WordPress Trac] #59027: Weekly wp_get_archives has invalid link (link for month instead of year)
WordPress Trac
noreply at wordpress.org
Mon Aug 14 10:22:51 UTC 2023
#59027: Weekly wp_get_archives has invalid link (link for month instead of year)
-------------------------------+---------------------
Reporter: filipac | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: 6.4
Component: Posts, Post Types | Version: 0.71
Severity: normal | Resolution:
Keywords: has-patch | Focuses:
-------------------------------+---------------------
Changes (by SergeyBiryukov):
* version: 4.6 => 0.71
Comment:
Thanks for the ticket! Some history here:
* [24] introduced the `?m=$arc_year` line along with the `get_archives()`
function itself.
* [273] adjusted the formatting to use `sprintf()`.
* [3878] moved the logic to `wp_get_archives()` and deprecated
`get_archives()`.
* [37530] replaced `sprintf()` with `add_query_arg()`.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/59027#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list