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

WordPress Trac noreply at wordpress.org
Tue May 26 20:35:50 UTC 2015


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

Comment (by valendesigns):

 Well 16 does remove a lot of potential overhead, so I am with you on that.
 Though, as you mentioned it has drawbacks with legacy slugs. Which I think
 is potentially the biggest issue we face, as the point of this ticket is
 really to fix legacy slugs.

 Yes, 16 fixes future collisions, but if we go this route we're only half
 fixing the issue. I feel like `wp_resolve_numeric_slug_conflicts` should
 remain intact and be ran when there is a 404 or something along those
 lines. There needs to be a way to prevent the collision for legacy slugs
 for this really to be a complete fix. We need to limit the use of the
 function to specific scenarios so we don't introduce unnecessary overhead.
 Is that even possible or are we chasing a unicorn here?

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


More information about the wp-trac mailing list