WordPress.org

Make WordPress Core

Changes between Version 1 and Version 2 of Ticket #21194, comment 3


Ignore:
Timestamp:
07/09/12 15:36:44 (22 months ago)
Author:
c3mdigital
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #21194, comment 3

    v1 v2  
    1 2nd patch fixes bug and allows for the _ajax_nonce to work by changing the action to trash-post.  Other option is to do a check for post_type == attachment in the wp_ajax_trash_post function. 
     12nd patch fixes bug and allows for the _ajax_nonce to work by changing the action to trash-post.   
     2 
     33rd patch which seems like the best way to do it adds a check for attachment post_type in ajax-actions.php.