[wp-trac] [WordPress Trac] #22186: Backwards compatibility for admin/includes/media.php hooks

WordPress Trac noreply at wordpress.org
Mon Nov 26 23:57:16 UTC 2012


#22186: Backwards compatibility for admin/includes/media.php hooks
--------------------------+------------------
 Reporter:  nacin         |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  low           |   Milestone:  3.5
Component:  Media         |     Version:
 Severity:  normal        |  Resolution:
 Keywords:                |
--------------------------+------------------

Comment (by nacin):

 Replying to [comment:47 bbrooks]:
 > In the new media UI, custom fields added by hooking into:
 'attachment_fields_to_edit' do not get submitted with a nonce, fail ajax
 verification, and thus do not retain any information entered by the user.

 Yep, good catch. Just fixed in #22577.

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


More information about the wp-trac mailing list