Changeset 3253245
- Timestamp:
- 03/10/2025 10:17:36 AM (9 months ago)
- Location:
- advanced-ads
- Files:
-
- 8 edited
- 1 copied
-
tags/1.56.4 (copied) (copied from advanced-ads/trunk)
-
tags/1.56.4/advanced-ads.php (modified) (2 diffs)
-
tags/1.56.4/classes/ad-model.php (modified) (1 diff)
-
tags/1.56.4/languages/advanced-ads.pot (modified) (2 diffs)
-
tags/1.56.4/readme.txt (modified) (2 diffs)
-
trunk/advanced-ads.php (modified) (2 diffs)
-
trunk/classes/ad-model.php (modified) (1 diff)
-
trunk/languages/advanced-ads.pot (modified) (2 diffs)
-
trunk/readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
advanced-ads/tags/1.56.4/advanced-ads.php
r3246330 r3253245 13 13 * Plugin URI: https://wpadvancedads.com 14 14 * Description: Manage and optimize your ads in WordPress 15 * Version: 1.56. 315 * Version: 1.56.4 16 16 * Author: Advanced Ads 17 17 * Author URI: https://wpadvancedads.com … … 34 34 35 35 define( 'ADVADS_FILE', __FILE__ ); 36 define( 'ADVADS_VERSION', '1.56. 3' );36 define( 'ADVADS_VERSION', '1.56.4' ); 37 37 38 38 // Load the autoloader. -
advanced-ads/tags/1.56.4/classes/ad-model.php
r3194748 r3253245 132 132 $this->ad_placements = get_option( 'advads-ads-placements', [] ); 133 133 134 // If something went wrong with AA 2.0, fetch placements from backup. 135 if ( empty( $this->ad_placements ) || ! is_array( $this->ad_placements ) ) { 136 $placements = get_option( 'advads-ads-placements_backup', [] ); 137 if ( is_array( $placements ) && ! empty( $placements ) ) { 138 $this->ad_placements = $placements; 139 update_option( 'advads-ads-placements', $placements ); 140 delete_option( 'advads-ads-placements_backup' ); 141 } 142 } 143 134 144 // load default array if not saved yet. 135 145 if ( ! is_array( $this->ad_placements ) ) { -
advanced-ads/tags/1.56.4/languages/advanced-ads.pot
r3246330 r3253245 3 3 msgid "" 4 4 msgstr "" 5 "Project-Id-Version: Advanced Ads 1.56. 2\n"5 "Project-Id-Version: Advanced Ads 1.56.3\n" 6 6 "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/advanced-ads/\n" 7 7 "Last-Translator: Thomas Maier <[email protected]>\n" … … 10 10 "Content-Type: text/plain; charset=UTF-8\n" 11 11 "Content-Transfer-Encoding: 8bit\n" 12 "POT-Creation-Date: 2025-0 2-25T10:13:19+00:00\n"12 "POT-Creation-Date: 2025-03-10T10:16:40+00:00\n" 13 13 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" 14 14 "X-Generator: WP-CLI 2.6.0\n" -
advanced-ads/tags/1.56.4/readme.txt
r3246330 r3253245 5 5 Tested up to: 6.6 6 6 Requires PHP: 7.2 7 Stable tag: 1.56. 37 Stable tag: 1.56.4 8 8 License: GPLv2 or later 9 9 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 357 357 == Changelog == 358 358 359 = 1.56.4 (March 10, 2025) = 360 361 - Fix: resolve issue causing placements to disappear after a manual rollback 362 359 363 = 1.56.3 (February 25, 2025) = 360 364 -
advanced-ads/trunk/advanced-ads.php
r3246330 r3253245 13 13 * Plugin URI: https://wpadvancedads.com 14 14 * Description: Manage and optimize your ads in WordPress 15 * Version: 1.56. 315 * Version: 1.56.4 16 16 * Author: Advanced Ads 17 17 * Author URI: https://wpadvancedads.com … … 34 34 35 35 define( 'ADVADS_FILE', __FILE__ ); 36 define( 'ADVADS_VERSION', '1.56. 3' );36 define( 'ADVADS_VERSION', '1.56.4' ); 37 37 38 38 // Load the autoloader. -
advanced-ads/trunk/classes/ad-model.php
r3194748 r3253245 132 132 $this->ad_placements = get_option( 'advads-ads-placements', [] ); 133 133 134 // If something went wrong with AA 2.0, fetch placements from backup. 135 if ( empty( $this->ad_placements ) || ! is_array( $this->ad_placements ) ) { 136 $placements = get_option( 'advads-ads-placements_backup', [] ); 137 if ( is_array( $placements ) && ! empty( $placements ) ) { 138 $this->ad_placements = $placements; 139 update_option( 'advads-ads-placements', $placements ); 140 delete_option( 'advads-ads-placements_backup' ); 141 } 142 } 143 134 144 // load default array if not saved yet. 135 145 if ( ! is_array( $this->ad_placements ) ) { -
advanced-ads/trunk/languages/advanced-ads.pot
r3246330 r3253245 3 3 msgid "" 4 4 msgstr "" 5 "Project-Id-Version: Advanced Ads 1.56. 2\n"5 "Project-Id-Version: Advanced Ads 1.56.3\n" 6 6 "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/advanced-ads/\n" 7 7 "Last-Translator: Thomas Maier <[email protected]>\n" … … 10 10 "Content-Type: text/plain; charset=UTF-8\n" 11 11 "Content-Transfer-Encoding: 8bit\n" 12 "POT-Creation-Date: 2025-0 2-25T10:13:19+00:00\n"12 "POT-Creation-Date: 2025-03-10T10:16:40+00:00\n" 13 13 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" 14 14 "X-Generator: WP-CLI 2.6.0\n" -
advanced-ads/trunk/readme.txt
r3246330 r3253245 5 5 Tested up to: 6.6 6 6 Requires PHP: 7.2 7 Stable tag: 1.56. 37 Stable tag: 1.56.4 8 8 License: GPLv2 or later 9 9 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 357 357 == Changelog == 358 358 359 = 1.56.4 (March 10, 2025) = 360 361 - Fix: resolve issue causing placements to disappear after a manual rollback 362 359 363 = 1.56.3 (February 25, 2025) = 360 364
Note: See TracChangeset
for help on using the changeset viewer.