WordPress.org

Make WordPress Core


Ignore:
Timestamp:
10/24/2017 11:00:01 PM (2 years ago)
Author:
SergeyBiryukov
Message:

Transients: After [41963], add missing cron task for delete_expired_transients().

Props dlh.
Fixes #41699.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/option.php

    r41963 r42008  
    821821 *
    822822 * 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.
    824824 *
    825825 * @since 4.9.0
     
    827827 * @param bool $force_db Optional. Force cleanup to run against the database even when an external object cache is used.
    828828 */
    829 function delete_expired_transients( $force_db = false) {
     829function delete_expired_transients( $force_db = false ) {
    830830    global $wpdb;
    831831
Note: See TracChangeset for help on using the changeset viewer.