Changeset 51068 for trunk/src/wp-includes/default-filters.php
- Timestamp:
- 06/04/2021 12:44:41 AM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/default-filters.php
r51058 r51068 247 247 248 248 // Mark site as no longer fresh. 249 foreach ( array( 'publish_post', 'publish_page', 'wp_ajax_save-widget', 'wp_ajax_widgets-order', 'customize_save_after' ) as $action ) { 249 foreach ( 250 array( 251 'publish_post', 252 'publish_page', 253 'wp_ajax_save-widget', 254 'wp_ajax_widgets-order', 255 'customize_save_after', 256 'rest_after_save_widget', 257 'rest_delete_widget', 258 'rest_save_sidebar', 259 ) as $action 260 ) { 250 261 add_action( $action, '_delete_option_fresh_site', 0 ); 251 262 }
Note: See TracChangeset
for help on using the changeset viewer.