[wp-trac] [WordPress Trac] #23148: Add hook in wp_ajax_save_attachment for additional attachment fields
WordPress Trac
noreply at wordpress.org
Fri Feb 15 21:11:28 UTC 2013
#23148: Add hook in wp_ajax_save_attachment for additional attachment fields
-------------------------+------------------
Reporter: griffinjt | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: 3.6
Component: Media | Version: 3.5
Severity: normal | Resolution:
Keywords: has-patch |
-------------------------+------------------
Comment (by griffinjt):
Replying to [comment:14 bradyvercher]:
> No need for red flags; those filters ''are'' the API and have been since
before the new media modal was implemented, so why not use them? Just
trying to help.
If I came off accusatory, I apologize - I promise I didn't mean it! Maybe
I should have just said that it seems odd to use code that is now not the
primary way to interact with the new API. Either way, I still think a hook
here would be beneficial because it would allow you to take advantage of
the new JS media code without having to write completely new JS glue to
save your custom fields added with JS. :-)
--
Ticket URL: <http://core.trac.wordpress.org/ticket/23148#comment:15>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list