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

WordPress Trac noreply at wordpress.org
Sat Feb 21 21:02:23 UTC 2015


#5305: permalinks broken when article name is numeric
-------------------------------------------------+-------------------------
 Reporter:  thomask                              |       Owner:
     Type:  defect (bug)                         |  valendesigns
 Priority:  normal                               |      Status:  assigned
Component:  Permalinks                           |   Milestone:  4.2
 Severity:  major                                |     Version:  2.3.1
 Keywords:  has-patch needs-testing dev-         |  Resolution:
  feedback                                       |     Focuses:
-------------------------------------------------+-------------------------

Comment (by boonebgorges):

 Forgot to mention in the above that I left out the post_type filter, and
 hardcoded 'post'. WP doesn't create date-based archives for CPTs out of
 the box. So I'm not sure that there's a natural situation where you'd have
 the kind of slug conflict covered in this post. I suppose it'd be possible
 in cases where a plugin registers its own rewrite rules for these kinds of
 archives. But in that case, we should probably be doing something more
 automatic to detect that these post types are subject to the clash in
 question - maybe examining the rewrite rules or something? Any thoughts
 are welcome.

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


More information about the wp-trac mailing list