Changes between Initial Version and Version 2 of Ticket #22664

Timestamp:
12/01/12 00:02:23 (6 months ago)
Author:
ocean90
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #22664 – Description

    initial v2  
    33You can reproduce with the following, make a plugin and drop this in then upload an attachment and click "save". 
    44 
     5 
     6{{{ 
    57 function my_func( $post, $attachment ){ 
    68   print '<pre>';  
     
    1012}  
    1113add_action('attachment_fields_to_save', 'my_func'); 
     14}}} 
     15 
    1216 
    1317 
    1418Stable WordPress produces this: 
     19 
     20{{{ 
    1521Array ( 
    1622  [menu_order] => 0  
     
    2127  [url] => 
    2228) 
     29}}} 
     30