Plugin Directory

Changeset 2786022


Ignore:
Timestamp:
09/16/2022 03:34:51 PM (3 years ago)
Author:
royho
Message:

Fix erroneous 3.5.1

Location:
action-scheduler
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • action-scheduler/tags/3.5.1/action-scheduler.php

    r2784104 r2786022  
    2727 */
    2828
    29 if ( ! function_exists( 'action_scheduler_register_3_dot_5_dot_0' ) && function_exists( 'add_action' ) ) {
     29if ( ! function_exists( 'action_scheduler_register_3_dot_5_dot_1' ) && function_exists( 'add_action' ) ) {
    3030
    3131    if ( ! class_exists( 'ActionScheduler_Versions', false ) ) {
     
    3434    }
    3535
    36     add_action( 'plugins_loaded', 'action_scheduler_register_3_dot_5_dot_0', 0, 0 );
     36    add_action( 'plugins_loaded', 'action_scheduler_register_3_dot_5_dot_1', 0, 0 );
    3737
    3838    /**
    3939     * Registers this version of Action Scheduler.
    4040     */
    41     function action_scheduler_register_3_dot_5_dot_0() {
     41    function action_scheduler_register_3_dot_5_dot_1() {
    4242        $versions = ActionScheduler_Versions::instance();
    43         $versions->register( '3.5.0', 'action_scheduler_initialize_3_dot_5_dot_0' );
     43        $versions->register( '3.5.1', 'action_scheduler_initialize_3_dot_5_dot_1' );
    4444    }
    4545
     
    4747     * Initializes this version of Action Scheduler.
    4848     */
    49     function action_scheduler_initialize_3_dot_5_dot_0() {
     49    function action_scheduler_initialize_3_dot_5_dot_1() {
    5050        // A final safety check is required even here, because historic versions of Action Scheduler
    5151        // followed a different pattern (in some unusual cases, we could reach this point and the
     
    5959    // Support usage in themes - load this version if no plugin has loaded a version yet.
    6060    if ( did_action( 'plugins_loaded' ) && ! doing_action( 'plugins_loaded' ) && ! class_exists( 'ActionScheduler', false ) ) {
    61         action_scheduler_initialize_3_dot_5_dot_0();
     61        action_scheduler_initialize_3_dot_5_dot_1();
    6262        do_action( 'action_scheduler_pre_theme_init' );
    6363        ActionScheduler_Versions::initialize_latest_version();
  • action-scheduler/trunk/action-scheduler.php

    r2784104 r2786022  
    2727 */
    2828
    29 if ( ! function_exists( 'action_scheduler_register_3_dot_5_dot_0' ) && function_exists( 'add_action' ) ) {
     29if ( ! function_exists( 'action_scheduler_register_3_dot_5_dot_1' ) && function_exists( 'add_action' ) ) {
    3030
    3131    if ( ! class_exists( 'ActionScheduler_Versions', false ) ) {
     
    3434    }
    3535
    36     add_action( 'plugins_loaded', 'action_scheduler_register_3_dot_5_dot_0', 0, 0 );
     36    add_action( 'plugins_loaded', 'action_scheduler_register_3_dot_5_dot_1', 0, 0 );
    3737
    3838    /**
    3939     * Registers this version of Action Scheduler.
    4040     */
    41     function action_scheduler_register_3_dot_5_dot_0() {
     41    function action_scheduler_register_3_dot_5_dot_1() {
    4242        $versions = ActionScheduler_Versions::instance();
    43         $versions->register( '3.5.0', 'action_scheduler_initialize_3_dot_5_dot_0' );
     43        $versions->register( '3.5.1', 'action_scheduler_initialize_3_dot_5_dot_1' );
    4444    }
    4545
     
    4747     * Initializes this version of Action Scheduler.
    4848     */
    49     function action_scheduler_initialize_3_dot_5_dot_0() {
     49    function action_scheduler_initialize_3_dot_5_dot_1() {
    5050        // A final safety check is required even here, because historic versions of Action Scheduler
    5151        // followed a different pattern (in some unusual cases, we could reach this point and the
     
    5959    // Support usage in themes - load this version if no plugin has loaded a version yet.
    6060    if ( did_action( 'plugins_loaded' ) && ! doing_action( 'plugins_loaded' ) && ! class_exists( 'ActionScheduler', false ) ) {
    61         action_scheduler_initialize_3_dot_5_dot_0();
     61        action_scheduler_initialize_3_dot_5_dot_1();
    6262        do_action( 'action_scheduler_pre_theme_init' );
    6363        ActionScheduler_Versions::initialize_latest_version();
Note: See TracChangeset for help on using the changeset viewer.