[wp-trac] [WordPress Trac] #5305: permalinks broken when article name is numeric

WordPress Trac noreply at wordpress.org
Fri May 29 13:09:28 UTC 2015


#5305: permalinks broken when article name is numeric
--------------------------+---------------------------
 Reporter:  thomask       |       Owner:  valendesigns
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:  4.3
Component:  Permalinks    |     Version:  2.3.1
 Severity:  major         |  Resolution:  fixed
 Keywords:  has-patch     |     Focuses:
--------------------------+---------------------------
Changes (by boonebgorges):

 * status:  assigned => closed
 * resolution:   => fixed


Comment:

 In [changeset:"32648"]:
 {{{
 #!CommitTicketReference repository="" revision="32648"
 When parsing what appears to be a date archive request, check for a post
 with a clashing permalink before resolving to the archive.

 A URL like `example.com/2015/05/15/` generally resolves to the May 15,
 2015 date
 archive. But in certain cases, it could also be the permalink of a post
 with
 the slug `'2015'`. When a conflict of this sort is detected, resolve to
 the post
 instead of the archive.

 URL conflicts of this sort should no longer occur for new posts; see
 [32647].

 Props valendesigns, boonebgorges, Denis-de-Bernardy.
 Fixes #5305.
 }}}

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


More information about the wp-trac mailing list