Changeset 47122 for trunk/src/wp-admin/admin.php
- Timestamp:
- 01/29/2020 12:43:23 AM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/admin.php
r45926 r47122 94 94 auth_redirect(); 95 95 96 // Schedule trash collection 96 // Schedule trash collection. 97 97 if ( ! wp_next_scheduled( 'wp_scheduled_delete' ) && ! wp_installing() ) { 98 98 wp_schedule_event( time(), 'daily', 'wp_scheduled_delete' ); 99 99 } 100 100 101 // Schedule Transient cleanup.101 // Schedule transient cleanup. 102 102 if ( ! wp_next_scheduled( 'delete_expired_transients' ) && ! wp_installing() ) { 103 103 wp_schedule_event( time(), 'daily', 'delete_expired_transients' ); … … 183 183 // Back-compat for plugins using add_management_page(). 184 184 if ( empty( $page_hook ) && 'edit.php' == $pagenow && '' != get_plugin_page_hook( $plugin_page, 'tools.php' ) ) { 185 // There could be plugin specific params on the URL, so we need the whole query string 185 // There could be plugin specific params on the URL, so we need the whole query string. 186 186 if ( ! empty( $_SERVER['QUERY_STRING'] ) ) { 187 187 $query_string = $_SERVER['QUERY_STRING']; … … 348 348 include( ABSPATH . 'wp-admin/admin-footer.php' ); 349 349 350 // Make sure rules are flushed 350 // Make sure rules are flushed. 351 351 flush_rewrite_rules( false ); 352 352
Note: See TracChangeset
for help on using the changeset viewer.