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

WordPress Trac wp-trac at lists.automattic.com
Tue Mar 20 22:23:01 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 azaozz):

 Replying to [comment:51 nacin]:
 > Where does this occur?

 When clicking the "Insert into Post" button in the gallery popup (while
 creating the content that is inserted).

 Tested several ways to make that more transparent, _fix_attachment_links()
 is a "filter", perhaps better run on the content right before saving
 published or updated post. If run on "transition_post_status" it starts a
 loop (as it calls insert_post too). That would also prevent running all
 the hooks for saving a post for second or third time.

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


More information about the wp-trac mailing list