Making WordPress.org

Changeset 4418


Ignore:
Timestamp:
11/24/2016 10:04:35 PM (7 years ago)
Author:
tellyworth
Message:

Plugin directory: convince update_option() to add new rows for options that use the bypass_options_cache filter.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/plugins/plugin-directory/class-plugin-directory.php

    r4412 r4418  
    6565        // Work around caching issues
    6666        add_filter( 'pre_option_jetpack_sync_full__started' , array( $this, 'bypass_options_cache' ), 10, 2 );
     67        add_filter( 'default_option_jetpack_sync_full__started', '__return_null' );
    6768        add_filter( 'pre_option_jetpack_sync_full__params' , array( $this, 'bypass_options_cache' ), 10, 2 );
     69        add_filter( 'default_option_jetpack_sync_full__params', '__return_null' );
    6870        add_filter( 'pre_option_jetpack_sync_full__queue_finished' , array( $this, 'bypass_options_cache' ), 10, 2 );
     71        add_filter( 'default_option_jetpack_sync_full__queue_finished', '__return_null' );
    6972        add_filter( 'pre_option_jetpack_sync_full__send_started' , array( $this, 'bypass_options_cache' ), 10, 2 );
     73        add_filter( 'default_option_jetpack_sync_full__send_started', '__return_null' );
    7074        add_filter( 'pre_option_jetpack_sync_full__finished' , array( $this, 'bypass_options_cache' ), 10, 2 );
     75        add_filter( 'default_option_jetpack_sync_full__finished', '__return_null' );
    7176
    7277        /*
Note: See TracChangeset for help on using the changeset viewer.