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

WordPress Trac wp-trac at lists.automattic.com
Thu Nov 1 21:27:54 GMT 2007


#5305: permalinks broken when article name is numeric
---------------------+------------------------------------------------------
 Reporter:  thomask  |       Owner:  anonymous         
     Type:  defect   |      Status:  new               
 Priority:  normal   |   Milestone:  2.3.2             
Component:  General  |     Version:  2.3.1             
 Severity:  major    |    Keywords:  permalinks, number
---------------------+------------------------------------------------------
 if you create numeric-only post name, the generated slug is this number -
 this conflicts with article ID, so it returns different article or 404
 page, never the article. It can be then solved by generating manual slug
 with some char in it, but i think it would be better to include some char
 in that case, e.g. underscore, like _123

 Also if someone will try to solve this, it would be nice to solve other
 problem - if post slug is begining with the slug of the category, than the
 category page returns that post, not the category

-- 
Ticket URL: <http://trac.wordpress.org/ticket/5305>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list