[wp-trac] [WordPress Trac] #6280: Attachment permalinks with int slugs fail

WordPress Trac wp-trac at lists.automattic.com
Tue Mar 18 16:47:10 GMT 2008


#6280: Attachment permalinks with int slugs fail
---------------------+------------------------------------------------------
 Reporter:  andy     |       Owner:  anonymous
     Type:  defect   |      Status:  new      
 Priority:  high     |   Milestone:  2.5      
Component:  General  |     Version:  2.5      
 Severity:  normal   |    Keywords:           
---------------------+------------------------------------------------------
 http://www.gamesgorilla.com/2008/03/18/testing/

 Attachment slugs should not be allowed to be ints.

 Possible fix: if type is attachment and $slug is int, make it
 "attachment-$slug"

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


More information about the wp-trac mailing list