Skip to content

Commit e5745b5

Browse files
authored
add actions
1 parent 869faa0 commit e5745b5

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

src/wp-includes/default-filters.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -577,7 +577,9 @@
577577
add_action( 'init', 'create_initial_post_types', 0 ); // Highest priority.
578578
add_action( 'admin_menu', '_add_post_type_submenus' );
579579
add_action( 'before_delete_post', '_reset_front_page_settings_for_post' );
580+
add_action( 'before_delete_post', '_reset_privacy_policy_page_for_post' );
580581
add_action( 'wp_trash_post', '_reset_front_page_settings_for_post' );
582+
add_action( 'wp_trash_post', '_reset_privacy_policy_page_for_post' );
581583
add_action( 'change_locale', 'create_initial_post_types' );
582584

583585
// Post Formats.

0 commit comments

Comments
 (0)