[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:41:47 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:53 nacin]:
> I meant in the code.
There's a hidden "post_parent" field for orphan attachments that gets
saved when the attachment is inserted in a post:
http://core.trac.wordpress.org/browser/trunk/wp-
admin/includes/media.php#L1270
> There are ways to avoid that.
Yes, but to make that filtering transparent it would be better to filter
post_content before saving in the DB rather than re-saving the post again.
Patch is mostly ready, will add it after some testing.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/13429#comment:54>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list