WordPress.org

Make WordPress Core


Ignore:
Timestamp:
06/14/2010 08:33:48 AM (10 years ago)
Author:
nacin
Message:

Treat trash/untrash of posts associated with media items the same as other stati changes. props koopersmith, see #13822.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/default-filters.php

    r15219 r15249  
    232232
    233233// Navigation menu actions
    234 add_action( 'trash_post',                 '_wp_trash_menu_item'            );
    235 add_action( 'untrash_post',               '_wp_untrash_menu_item'          );
    236234add_action( 'delete_post',                '_wp_delete_post_menu_item'      );
    237235add_action( 'delete_term',                '_wp_delete_tax_menu_item'       );
Note: See TracChangeset for help on using the changeset viewer.