Ticket #26795: 26795.default-filters.php.patch
| File 26795.default-filters.php.patch, 774 bytes (added by , 12 years ago) |
|---|
-
default-filters.php
1 1 <?php 2 <?php 2 3 /** 3 4 * Sets up the default filters and actions for most 4 5 * of the WordPress hooks. … … 261 262 add_action( 'welcome_panel', 'wp_welcome_panel' ); 262 263 263 264 // Navigation menu actions 264 add_action( ' delete_post', '_wp_delete_post_menu_item' );265 add_action( 'wp_trash_post', '_wp_delete_post_menu_item' ); 265 266 add_action( 'delete_term', '_wp_delete_tax_menu_item', 10, 3 ); 266 267 add_action( 'transition_post_status', '_wp_auto_add_pages_to_menu', 10, 3 ); 267 268