[wp-trac] [WordPress Trac] #12315: "Link URL" on uploaded images does not update when saving a post

WordPress Trac wp-trac at lists.automattic.com
Sun Feb 21 01:10:13 UTC 2010


#12315: "Link URL" on uploaded images does not update when saving a post
--------------------------+-------------------------------------------------
 Reporter:  broofa        |       Owner:            
     Type:  defect (bug)  |      Status:  new       
 Priority:  normal        |   Milestone:  Unassigned
Component:  Media         |     Version:            
 Severity:  normal        |    Keywords:            
--------------------------+-------------------------------------------------
 This bug occurs whenever there is a linked image in a post of the form ...

 {{{
 <a href="..." rel="attachment ..."><img src="..." /></a>
 }}}

 Note the presence of the "rel" attribute.

 In this case - when the 'rel' attribute is set - changing the URL of the
 link has no effect.  Typically this happens in the "Link URL" field of the
 image property dialog in the editor.

 Previewing the edited post will show a link that appears to point to
 whatever URL you've specified.  However when you actually "update" the
 post, the URL will revert back to the attached image file.

 Setting the "Link URL" field should *always* apply that URL to the link
 href.

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


More information about the wp-trac mailing list