Changeset 3402212
- Timestamp:
- 11/25/2025 05:22:20 AM (4 months ago)
- Location:
- archive-master
- Files:
-
- 2 added
- 6 edited
- 1 copied
-
tags/1.8.5 (copied) (copied from archive-master/trunk)
-
tags/1.8.5/archive-master.php (modified) (5 diffs)
-
tags/1.8.5/changelog.txt (modified) (1 diff)
-
tags/1.8.5/includes/wppool/black-friday.png (added)
-
tags/1.8.5/readme.txt (modified) (3 diffs)
-
trunk/archive-master.php (modified) (5 diffs)
-
trunk/changelog.txt (modified) (1 diff)
-
trunk/includes/wppool/black-friday.png (added)
-
trunk/readme.txt (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
archive-master/tags/1.8.5/archive-master.php
r3399348 r3402212 8 8 * Author: ArchiveMaster 9 9 * Author URI: https://archivemaster.pro/ 10 * Version: 1.8. 410 * Version: 1.8.5 11 11 * License: GPL2 or later 12 12 * License URI: https://www.gnu.org/licenses/gpl-2.0.html … … 38 38 * @since 1.0 39 39 */ 40 const VERSION = '1.8. 4';40 const VERSION = '1.8.5'; 41 41 42 42 /** … … 60 60 add_action('plugins_loaded', [ $this, 'init_plugin' ]); 61 61 add_filter('plugin_action_links', [ $this, 'archm_add_settings_link' ], 11, 2); 62 add_filter( 'wppool_plugins', [ $this, 'change_campaign_button_link' ], 10, 1 ); 62 63 63 64 // Initialize security headers early … … 132 133 133 134 /** 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 /** 134 159 * Initiliaze Appsero 135 160 * … … 217 242 218 243 // Campain. 219 $campain_image = ARCHM_PLUGIN_URL . '/includes/wppool/ archive-master.png';244 $campain_image = ARCHM_PLUGIN_URL . '/includes/wppool/black-friday.png'; 220 245 221 246 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); 225 251 } 226 252 } -
archive-master/tags/1.8.5/changelog.txt
r3399348 r3402212 5 5 This file contains older changelog entries, so we can keep the size of the standard WordPress readme.txt file reasonable. 6 6 For 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 7 15 8 16 = 1.7.0 - 28 July 2025 = -
archive-master/tags/1.8.5/readme.txt
r3399348 r3402212 4 4 Requires at least: 6.2 5 5 Tested up to: 6.8 6 Stable tag: 1.8. 46 Stable tag: 1.8.5 7 7 Requires PHP: 8.0 8 8 License: GPLv2 or later … … 162 162 == Changelog == 163 163 164 = 1.8.5 – 25 Nov 2025 = 165 * **Improvement:** Regular maintenance update 166 164 167 = 1.8.4 – 20 Nov 2025 = 165 168 * **Improvement:** Regular maintenance update … … 179 182 * **Fix:** Resolved excessive logging that was continuously filling up the error log 180 183 181 = 1.8.0 - 26 Aug 2025 =182 * **New:** The plugin now be translated into any language using popular translation plugin183 * **New:** Archive by specific order status including custom order statuses184 * **New:** Filter archived orders by date, day & status185 * **New:** Skip archiving active subscription/membership orders186 * **New:** Permanently delete archived orders187 * **Improvement:** Enhanced the local archive storage facility188 189 184 **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 8 8 * Author: ArchiveMaster 9 9 * Author URI: https://archivemaster.pro/ 10 * Version: 1.8. 410 * Version: 1.8.5 11 11 * License: GPL2 or later 12 12 * License URI: https://www.gnu.org/licenses/gpl-2.0.html … … 38 38 * @since 1.0 39 39 */ 40 const VERSION = '1.8. 4';40 const VERSION = '1.8.5'; 41 41 42 42 /** … … 60 60 add_action('plugins_loaded', [ $this, 'init_plugin' ]); 61 61 add_filter('plugin_action_links', [ $this, 'archm_add_settings_link' ], 11, 2); 62 add_filter( 'wppool_plugins', [ $this, 'change_campaign_button_link' ], 10, 1 ); 62 63 63 64 // Initialize security headers early … … 132 133 133 134 /** 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 /** 134 159 * Initiliaze Appsero 135 160 * … … 217 242 218 243 // Campain. 219 $campain_image = ARCHM_PLUGIN_URL . '/includes/wppool/ archive-master.png';244 $campain_image = ARCHM_PLUGIN_URL . '/includes/wppool/black-friday.png'; 220 245 221 246 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); 225 251 } 226 252 } -
archive-master/trunk/changelog.txt
r3399348 r3402212 5 5 This file contains older changelog entries, so we can keep the size of the standard WordPress readme.txt file reasonable. 6 6 For 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 7 15 8 16 = 1.7.0 - 28 July 2025 = -
archive-master/trunk/readme.txt
r3399348 r3402212 4 4 Requires at least: 6.2 5 5 Tested up to: 6.8 6 Stable tag: 1.8. 46 Stable tag: 1.8.5 7 7 Requires PHP: 8.0 8 8 License: GPLv2 or later … … 162 162 == Changelog == 163 163 164 = 1.8.5 – 25 Nov 2025 = 165 * **Improvement:** Regular maintenance update 166 164 167 = 1.8.4 – 20 Nov 2025 = 165 168 * **Improvement:** Regular maintenance update … … 179 182 * **Fix:** Resolved excessive logging that was continuously filling up the error log 180 183 181 = 1.8.0 - 26 Aug 2025 =182 * **New:** The plugin now be translated into any language using popular translation plugin183 * **New:** Archive by specific order status including custom order statuses184 * **New:** Filter archived orders by date, day & status185 * **New:** Skip archiving active subscription/membership orders186 * **New:** Permanently delete archived orders187 * **Improvement:** Enhanced the local archive storage facility188 189 184 **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.