[wp-trac] [WordPress Trac] #22868: broken compat attachment attributes save
WordPress Trac
noreply at wordpress.org
Sat Dec 15 18:58:42 UTC 2012
#22868: broken compat attachment attributes save
--------------------------+----------------------
Reporter: geminorum | Owner:
Type: defect (bug) | Status: closed
Priority: normal | Milestone:
Component: Media | Version: 3.5
Severity: normal | Resolution: invalid
Keywords: |
--------------------------+----------------------
Comment (by crocro):
Yep, but if it's not on the POST, Wordpress will never apply
attachment_fields_to_save filter.
It means, when you try to uncheck the checkbox via the new AJAX media
interface, there isn't any chance you can save the result to the database
or such things. "wp-admin/admin-ajax.php" will answer "{"success":false}"
and that's it - attachment_fields_to_save won't be called.
I don't know if you can test this ?
--
Ticket URL: <http://core.trac.wordpress.org/ticket/22868#comment:8>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list