[wp-trac] [WordPress Trac] #11417: Wrong Slug When image_meta['title'] Appears

WordPress Trac wp-trac at lists.automattic.com
Sun Dec 13 05:41:59 UTC 2009


#11417: Wrong Slug When image_meta['title'] Appears
--------------------------+-------------------------------------------------
 Reporter:  miqrogroove   |       Owner:  ryan 
     Type:  defect (bug)  |      Status:  new  
 Priority:  normal        |   Milestone:  3.0  
Component:  Permalinks    |     Version:  2.8.4
 Severity:  normal        |    Keywords:       
--------------------------+-------------------------------------------------
 Currently, WordPress chooses image slugs from their filenames, or the meta
 title if available.  (Some kind of EXIF thing that doesn't work most of
 the time?)

 There's a huge problem with this.  If that meta field is numeric,
 WordPress changes the permalink structure to

 /blog/year/month/post-title/attachment/123456/

 The blog author has no direct control over this, and it looks really bad
 when all of the other image permalinks have

 /blog/year/month/post-title/filename/

 WordPress needs to revert back to filename slugs when the meta title is
 numeric (garbage).

 And don't let me blow your minds all at once here, but how about letting
 the blog author edit those slugs?

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


More information about the wp-trac mailing list