[wp-trac] [WordPress Trac] #13429: Updating Link URL on image within Admin with Gallery

WordPress Trac wp-trac at lists.automattic.com
Mon Mar 19 23:45:03 UTC 2012


#13429: Updating Link URL on image within Admin with Gallery
-----------------------------------+-----------------------------
 Reporter:  vshoward               |       Owner:
     Type:  defect (bug)           |      Status:  new
 Priority:  normal                 |   Milestone:  Future Release
Component:  Gallery                |     Version:  2.9.2
 Severity:  normal                 |  Resolution:
 Keywords:  has-patch 2nd-opinion  |
-----------------------------------+-----------------------------

Comment (by ryan):

 Proposal: Call _fix_attachment_links in _transition_post_status() when
 transitioning to not published to published. Only rewrite attachment links
 of the form attachment_id=xxx. Drop the orphan checking code. Only re-save
 the post if a link was rewritten.

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


More information about the wp-trac mailing list