[wp-trac] [WordPress Trac] #13429: Updating Link URL on image within Admin with Gallery
WordPress Trac
wp-trac at lists.automattic.com
Thu Mar 22 21:13:42 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):
The links aren't updated upon publish. You must save one more time after
the initial publish to get updated links. This is because the
wp_insert_data action is fired prior to DB update so the
get_attachment_link() call in _fix_attachment_links() doesn't have access
to the new post_name value.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/13429#comment:58>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list