Changeset 42008
- Timestamp:
- 10/24/2017 11:00:01 PM (8 years ago)
- Location:
- trunk/src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/admin.php
r39941 r42008 88 88 wp_schedule_event(time(), 'daily', 'wp_scheduled_delete'); 89 89 90 // Schedule Transient cleanup. 91 if ( ! wp_next_scheduled( 'delete_expired_transients' ) && ! wp_installing() ) { 92 wp_schedule_event( time(), 'daily', 'delete_expired_transients' ); 93 } 94 90 95 set_screen_options(); 91 96 … … 94 99 95 100 wp_enqueue_script( 'common' ); 96 97 98 99 101 100 102 /** -
trunk/src/wp-includes/option.php
r41963 r42008 821 821 * 822 822 * The multi-table delete syntax is used to delete the transient record 823 * from table a, and the corresponding transient_timeout record from table b. +823 * from table a, and the corresponding transient_timeout record from table b. 824 824 * 825 825 * @since 4.9.0 … … 827 827 * @param bool $force_db Optional. Force cleanup to run against the database even when an external object cache is used. 828 828 */ 829 function delete_expired_transients( $force_db = false ) {829 function delete_expired_transients( $force_db = false ) { 830 830 global $wpdb; 831 831
Note: See TracChangeset
for help on using the changeset viewer.