[wp-trac] [WordPress Trac] #11417: Slugs of attachments can not be edited (was: Wrong Slug When image_meta['title'] Appears)

WordPress Trac wp-trac at lists.automattic.com
Tue Jan 5 22:12:20 UTC 2010


#11417: Slugs of attachments can not be edited
--------------------------+-------------------------------------------------
 Reporter:  miqrogroove   |       Owner:  ryan 
     Type:  defect (bug)  |      Status:  new  
 Priority:  normal        |   Milestone:  3.0  
Component:  Permalinks    |     Version:  2.8.4
 Severity:  normal        |    Keywords:       
--------------------------+-------------------------------------------------

Comment(by hakre):

 Tested this with the attached image which has a numery title only.
 Uploaded via the media library and left it un-associated to any post. Had
 not problems to open the image, was offerd with query strings on the view
 links instead of a nice permalink so I was not able to reproduce from the
 media library.

 Then I added it to a post to better test. It got properly attached to the
 new post (verified via the Media Library's ''Attached to'' table column).
 I was able to switch from {{{/?attachment_id=78}}} to proppery permalink
 linkage by publishing the post. Attachment then was referenced as
 {{{/2010/01/numeric-attachment/attachment/11417/}}} which looks pretty
 valid to me (I do not actually see that this is wrong). To counter check I
 choosed an image with name and tested with it. I than ran over the problem
 (image taken from that #/11446 ticket, the one with the long name) that I
 was not able to change the attachments slug afterwards. Tried to by
 changing the title but no luck with that.

 So in any case (not only numeric titles) the admin does not offer the user
 a possibility to change an attachments slug. this should be offered in the
 diverse editors (media library, post/page media thickbox). I'm unsure
 wether this is a bug (it does not break anything, URLs do actually work),
 an enhancement or even a feature request. But I think it should be taken
 care of this.

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


More information about the wp-trac mailing list