Plugin Directory

Changeset 3402212


Ignore:
Timestamp:
11/25/2025 05:22:20 AM (4 months ago)
Author:
archivemaster
Message:

Update to version 1.8.5 from GitHub

Location:
archive-master
Files:
2 added
6 edited
1 copied

Legend:

Unmodified
Added
Removed
  • archive-master/tags/1.8.5/archive-master.php

    r3399348 r3402212  
    88 * Author:              ArchiveMaster
    99 * Author URI:          https://archivemaster.pro/
    10  * Version:             1.8.4
     10 * Version:             1.8.5
    1111 * License:             GPL2 or later
    1212 * License URI:         https://www.gnu.org/licenses/gpl-2.0.html
     
    3838     * @since 1.0
    3939     */
    40     const VERSION = '1.8.4';
     40    const VERSION = '1.8.5';
    4141
    4242    /**
     
    6060        add_action('plugins_loaded', [ $this, 'init_plugin' ]);
    6161        add_filter('plugin_action_links', [ $this, 'archm_add_settings_link' ], 11, 2);
     62        add_filter( 'wppool_plugins', [ $this, 'change_campaign_button_link' ], 10, 1 );
    6263
    6364        // Initialize security headers early
     
    132133
    133134    /**
     135         * Changes the 'button_link' for the 'archive_master'
     136         * plugin data during a specified campaign period.
     137         * * This method is intended to be hooked into the 'wppool_plugins' filter.
     138         * The link is reverted to its original value after the campaign end date (December 4th).
     139         *
     140         * @param array $plugins An array containing data for all registered WP Pool plugins.
     141         * @return array The potentially modified array of plugin data.
     142         */
     143    public function change_campaign_button_link( $plugins ) {
     144        $start_date = strtotime( '2025-11-17' );
     145        $end_date   = strtotime( '2025-12-04' );
     146        $current_time = current_time( 'timestamp' );
     147        if ( $current_time >= $start_date && $current_time <= $end_date ) {
     148            $plugin_key = 'archive_master';
     149            $new_campaign_url = 'https://lnk.wppool.dev/5Z8hyMV';
     150            if ( isset( $plugins[ $plugin_key ] ) ) {
     151                $plugins[ $plugin_key ]['button_link'] = $new_campaign_url;
     152
     153            }
     154        }
     155        return $plugins;
     156    }
     157
     158    /**
    134159     * Initiliaze Appsero
    135160     *
     
    217242
    218243            // Campain.
    219             $campain_image = ARCHM_PLUGIN_URL . '/includes/wppool/archive-master.png';
     244            $campain_image = ARCHM_PLUGIN_URL . '/includes/wppool/black-friday.png';
    220245
    221246            if ( $archm_plugin && is_object($archm_plugin) && method_exists($archm_plugin, 'set_campaign') ) {
    222                 $to   = '2024-11-05';
    223                 $from = '2024-10-21';
    224                 $archm_plugin->set_campaign($campain_image, $to, $from);
     247                $to   = '2025-12-04';
     248                $from = '2025-11-17';
     249                $cta_text = 'Grab Your Deals';
     250                $archm_plugin->set_campaign($campain_image, $to, $from, $cta_text);
    225251            }
    226252        }
  • archive-master/tags/1.8.5/changelog.txt

    r3399348 r3402212  
    55This file contains older changelog entries, so we can keep the size of the standard WordPress readme.txt file reasonable.
    66For the latest changes, please see the "Changelog" section of the [Plugin](https://wordpress.org/plugins/archive-master/#developers).
     7
     8= 1.8.0 - 26 Aug 2025 =
     9* **New:** The plugin now be translated into any language using popular translation plugin
     10* **New:** Archive by specific order status including custom order statuses
     11* **New:** Filter archived orders by date, day & status
     12* **New:** Skip archiving active subscription/membership orders
     13* **New:** Permanently delete archived orders
     14* **Improvement:** Enhanced the local archive storage facility
    715
    816= 1.7.0 - 28 July 2025 =
  • archive-master/tags/1.8.5/readme.txt

    r3399348 r3402212  
    44Requires at least: 6.2
    55Tested up to: 6.8
    6 Stable tag: 1.8.4
     6Stable tag: 1.8.5
    77Requires PHP: 8.0
    88License: GPLv2 or later
     
    162162== Changelog ==
    163163
     164= 1.8.5 – 25 Nov 2025 =
     165* **Improvement:** Regular maintenance update
     166
    164167= 1.8.4 – 20 Nov 2025 =
    165168* **Improvement:** Regular maintenance update
     
    179182* **Fix:** Resolved excessive logging that was continuously filling up the error log
    180183
    181 = 1.8.0 - 26 Aug 2025 =
    182 * **New:** The plugin now be translated into any language using popular translation plugin
    183 * **New:** Archive by specific order status including custom order statuses
    184 * **New:** Filter archived orders by date, day & status
    185 * **New:** Skip archiving active subscription/membership orders
    186 * **New:** Permanently delete archived orders
    187 * **Improvement:** Enhanced the local archive storage facility
    188 
    189184**For older changelog entries, please see the [additional changelog.txt file](https://plugins.svn.wordpress.org/archive-master/trunk/changelog.txt) delivered with the plugin.**
  • archive-master/trunk/archive-master.php

    r3399348 r3402212  
    88 * Author:              ArchiveMaster
    99 * Author URI:          https://archivemaster.pro/
    10  * Version:             1.8.4
     10 * Version:             1.8.5
    1111 * License:             GPL2 or later
    1212 * License URI:         https://www.gnu.org/licenses/gpl-2.0.html
     
    3838     * @since 1.0
    3939     */
    40     const VERSION = '1.8.4';
     40    const VERSION = '1.8.5';
    4141
    4242    /**
     
    6060        add_action('plugins_loaded', [ $this, 'init_plugin' ]);
    6161        add_filter('plugin_action_links', [ $this, 'archm_add_settings_link' ], 11, 2);
     62        add_filter( 'wppool_plugins', [ $this, 'change_campaign_button_link' ], 10, 1 );
    6263
    6364        // Initialize security headers early
     
    132133
    133134    /**
     135         * Changes the 'button_link' for the 'archive_master'
     136         * plugin data during a specified campaign period.
     137         * * This method is intended to be hooked into the 'wppool_plugins' filter.
     138         * The link is reverted to its original value after the campaign end date (December 4th).
     139         *
     140         * @param array $plugins An array containing data for all registered WP Pool plugins.
     141         * @return array The potentially modified array of plugin data.
     142         */
     143    public function change_campaign_button_link( $plugins ) {
     144        $start_date = strtotime( '2025-11-17' );
     145        $end_date   = strtotime( '2025-12-04' );
     146        $current_time = current_time( 'timestamp' );
     147        if ( $current_time >= $start_date && $current_time <= $end_date ) {
     148            $plugin_key = 'archive_master';
     149            $new_campaign_url = 'https://lnk.wppool.dev/5Z8hyMV';
     150            if ( isset( $plugins[ $plugin_key ] ) ) {
     151                $plugins[ $plugin_key ]['button_link'] = $new_campaign_url;
     152
     153            }
     154        }
     155        return $plugins;
     156    }
     157
     158    /**
    134159     * Initiliaze Appsero
    135160     *
     
    217242
    218243            // Campain.
    219             $campain_image = ARCHM_PLUGIN_URL . '/includes/wppool/archive-master.png';
     244            $campain_image = ARCHM_PLUGIN_URL . '/includes/wppool/black-friday.png';
    220245
    221246            if ( $archm_plugin && is_object($archm_plugin) && method_exists($archm_plugin, 'set_campaign') ) {
    222                 $to   = '2024-11-05';
    223                 $from = '2024-10-21';
    224                 $archm_plugin->set_campaign($campain_image, $to, $from);
     247                $to   = '2025-12-04';
     248                $from = '2025-11-17';
     249                $cta_text = 'Grab Your Deals';
     250                $archm_plugin->set_campaign($campain_image, $to, $from, $cta_text);
    225251            }
    226252        }
  • archive-master/trunk/changelog.txt

    r3399348 r3402212  
    55This file contains older changelog entries, so we can keep the size of the standard WordPress readme.txt file reasonable.
    66For the latest changes, please see the "Changelog" section of the [Plugin](https://wordpress.org/plugins/archive-master/#developers).
     7
     8= 1.8.0 - 26 Aug 2025 =
     9* **New:** The plugin now be translated into any language using popular translation plugin
     10* **New:** Archive by specific order status including custom order statuses
     11* **New:** Filter archived orders by date, day & status
     12* **New:** Skip archiving active subscription/membership orders
     13* **New:** Permanently delete archived orders
     14* **Improvement:** Enhanced the local archive storage facility
    715
    816= 1.7.0 - 28 July 2025 =
  • archive-master/trunk/readme.txt

    r3399348 r3402212  
    44Requires at least: 6.2
    55Tested up to: 6.8
    6 Stable tag: 1.8.4
     6Stable tag: 1.8.5
    77Requires PHP: 8.0
    88License: GPLv2 or later
     
    162162== Changelog ==
    163163
     164= 1.8.5 – 25 Nov 2025 =
     165* **Improvement:** Regular maintenance update
     166
    164167= 1.8.4 – 20 Nov 2025 =
    165168* **Improvement:** Regular maintenance update
     
    179182* **Fix:** Resolved excessive logging that was continuously filling up the error log
    180183
    181 = 1.8.0 - 26 Aug 2025 =
    182 * **New:** The plugin now be translated into any language using popular translation plugin
    183 * **New:** Archive by specific order status including custom order statuses
    184 * **New:** Filter archived orders by date, day & status
    185 * **New:** Skip archiving active subscription/membership orders
    186 * **New:** Permanently delete archived orders
    187 * **Improvement:** Enhanced the local archive storage facility
    188 
    189184**For older changelog entries, please see the [additional changelog.txt file](https://plugins.svn.wordpress.org/archive-master/trunk/changelog.txt) delivered with the plugin.**
Note: See TracChangeset for help on using the changeset viewer.