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

WordPress Trac noreply at wordpress.org
Thu Nov 22 19:12:09 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 Chouby):

 I go on with my tests.[[BR]]

 In RC1, the filter 'attachment_fields_to_edit' is OK. But unlike in WP
 3.4, the attachment taxonomies are not automatically saved anymore. A
 workaround is to use the filter 'attachment_fields_to_save' as we would do
 for other custom fields.[[BR]]

 I still did not find a way to know (in the filter 'parse_query') which
 post is currently edited when using the new "Add Media" modal (to replace
 {{{$_REQUEST['post_id']}}} which was available in 3.4)

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


More information about the wp-trac mailing list