[wp-trac] [WordPress Trac] #59027: Weekly wp_get_archives has invalid link (link for month instead of year)

WordPress Trac noreply at wordpress.org
Wed Sep 27 17:56:00 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 needs-unit-tests 2nd-opinion  |     Focuses:
----------------------------------------------------+---------------------
Changes (by hellofromTonya):

 * keywords:  has-patch => has-patch needs-unit-tests 2nd-opinion


Comment:

 This ticket was discussed during today's 6.4 post-beta 1 scrub.

 @costdev brought up a potential BC (backward-compatible) break of changing
 `m` to `y`. This is a valid concern when considering how to move this
 bugfix forward.

 As @joemcgill pointed out:
 >Definitely needs some deep research and added unit tests, if possible to
 ensure this doesn't break again in the future.

 If there is truly a BC concern, this one might benefit from being in the
 early early alpha phases of a major release.

 I'm marking this one with `2nd-opinion` to denote it needs

 * Thorough historical review.
 * Consideration of how to deal with a BC break.
 * If this one should be moved into `early` alpha phase.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/59027#comment:8>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list