Plugin Directory

Changeset 3402379


Ignore:
Timestamp:
11/25/2025 10:12:27 AM (3 weeks ago)
Author:
RogierLankhorst
Message:

prepare for update

Location:
burst-statistics/trunk
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • burst-statistics/trunk/burst.php

    r3392751 r3402379  
    44 * Plugin URI: https://www.wordpress.org/plugins/burst-statistics
    55 * Description: Get detailed insights into visitors’ behavior with Burst Statistics, the privacy-friendly analytics dashboard.
    6  * Version: 3.0.0
     6 * Version: 3.0.2
    77 * Requires at least: 6.4
    88 * Requires PHP: 8.0
  • burst-statistics/trunk/includes/Admin/class-tasks.php

    r3379991 r3402379  
    107107            $current_tasks = array_diff( $current_tasks, [ $task_id ] );
    108108            update_option( 'burst_tasks', $current_tasks, false );
    109         }
    110         $this->maybe_dismiss_permanently( $task_id );
     109
     110            // only dismiss permanently if the task exists in the tasks array.
     111            $this->maybe_dismiss_permanently( $task_id );
     112        }
    111113        delete_transient( 'burst_plusone_count' );
    112114    }
  • burst-statistics/trunk/includes/Admin/class-upgrade.php

    r3392751 r3402379  
    238238        }
    239239
    240         if ( $prev_version && version_compare( $prev_version, '3.0.1', '<' ) ) {
     240        if ( $prev_version && version_compare( $prev_version, '3.0.2', '<' ) ) {
    241241            update_option( 'burst_is_multi_domain', false );
    242             burst_reinstall_rest_api_optimizer();
     242            $plugin_activated_time = get_option( 'burst_activation_time', 0 );
     243            $cutoff_date          = strtotime( '2025-11-24 00:00:00' );
     244            if ( $plugin_activated_time > 0 && $plugin_activated_time < $cutoff_date ) {
     245                if ( ! defined( 'BURST_PRO' ) ) {
     246                    \Burst\burst_loader()->admin->tasks->undismiss_task( 'bf_notice' );
     247                    \Burst\burst_loader()->admin->tasks->undismiss_task( 'cm_notice' );
     248                    \Burst\burst_loader()->admin->tasks->schedule_task_validation();
     249                }
     250            }
    243251        }
    244252
  • burst-statistics/trunk/includes/class-burst.php

    r3392751 r3402379  
    6666        define( 'BURST_PLUGIN', plugin_basename( BURST_FILE ) );
    6767        define( 'BURST_PLUGIN_NAME', defined( 'BURST_PRO' ) ? 'Burst Pro' : 'Burst Statistics' );
    68         define( 'BURST_VERSION', '3.0.1' );
     68        define( 'BURST_VERSION', '3.0.2' );
    6969        // deprecated constant.
    7070        //phpcs:ignore
  • burst-statistics/trunk/readme.txt

    r3392877 r3402379  
    9898
    9999== Change log ==
     100= 3.0.2 =
     101* November 25th
     102* Fix: some notices were incorrectly dismissed during validation.
     103* Improvement: added automated test for hook goals.
     104* Improvement: added automated test for archiving restoration.
     105
    100106= 3.0.0 =
    101107* November 11th 2025
Note: See TracChangeset for help on using the changeset viewer.