Changeset 3366448
- Timestamp:
- 09/23/2025 12:10:10 PM (3 months ago)
- Location:
- advanced-ads-adsense-in-feed
- Files:
-
- 12 edited
- 1 copied
-
tags/2.1.1 (copied) (copied from advanced-ads-adsense-in-feed/trunk)
-
tags/2.1.1/advanced-ads-in-feed.php (modified) (2 diffs)
-
tags/2.1.1/includes/class-plugin.php (modified) (1 diff)
-
tags/2.1.1/languages/advanced-ads-adsense-in-feed.pot (modified) (8 diffs)
-
tags/2.1.1/packages/composer/platform_check.php (modified) (1 diff)
-
tags/2.1.1/readme.txt (modified) (2 diffs)
-
tags/2.1.1/wp.advads (modified) (1 diff)
-
trunk/advanced-ads-in-feed.php (modified) (2 diffs)
-
trunk/includes/class-plugin.php (modified) (1 diff)
-
trunk/languages/advanced-ads-adsense-in-feed.pot (modified) (8 diffs)
-
trunk/packages/composer/platform_check.php (modified) (1 diff)
-
trunk/readme.txt (modified) (2 diffs)
-
trunk/wp.advads (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
advanced-ads-adsense-in-feed/tags/2.1.1/advanced-ads-in-feed.php
r3316358 r3366448 11 11 * @wordpress-plugin 12 12 * Plugin Name: Advanced Ads – Google AdSense In-feed Placement 13 * Version: 2.1. 013 * Version: 2.1.1 14 14 * Description: Display AdSense In-feed ads between posts 15 15 * Plugin URI: https://wpadvancedads.com/ … … 38 38 39 39 define( 'AAINF_FILE', __FILE__ ); 40 define( 'AAINF_VERSION', '2.1. 0' );40 define( 'AAINF_VERSION', '2.1.1' ); 41 41 42 42 // Load the autoloader. -
advanced-ads-adsense-in-feed/tags/2.1.1/includes/class-plugin.php
r3316358 r3366448 104 104 $ad = wp_advads_get_ad( $_item[1] ); 105 105 106 if ( ! $ad || ! is_object( $ad ) ) { 107 return false; 108 } 109 106 110 return $ad->is_type( 'adsense' ) && Str::contains( 'in-feed', $ad->get_content() ); 107 111 } -
advanced-ads-adsense-in-feed/tags/2.1.1/languages/advanced-ads-adsense-in-feed.pot
r3316358 r3366448 3 3 msgid "" 4 4 msgstr "" 5 "Project-Id-Version: Advanced Ads – Google AdSense In-feed Placement 2. 0.0\n"5 "Project-Id-Version: Advanced Ads – Google AdSense In-feed Placement 2.1.0\n" 6 6 "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/advanced-ads-adsense-in-feed\n" 7 7 "Last-Translator: Shakeeb Ahmed <[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 6-23T13:01:46+00:00\n"12 "POT-Creation-Date: 2025-09-23T12:07:19+00:00\n" 13 13 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" 14 "X-Generator: WP-CLI 2.1 1.0\n"14 "X-Generator: WP-CLI 2.12.0\n" 15 15 "X-Domain: advanced-ads-adsense-in-feed\n" 16 16 … … 44 44 #. translators: %s is a link. 45 45 #: includes/admin/class-placement-settings.php:49 46 #, php-format 46 47 msgid "This placement can only deliver a single In-feed ad. Use the <a href=\"%s\" target=\"_blank\">Post Lists placement</a> for other ad types." 47 48 msgstr "" … … 49 50 #. translators: $s is an index, e.g., "5". 50 51 #: includes/admin/class-placement-settings.php:76 52 #, php-format 51 53 msgid "Inject before %s. post" 52 54 msgstr "" … … 62 64 #. translators: 1: is a link to a support document. 2: closing link 63 65 #: includes/class-autoloader.php:113 66 #, php-format 64 67 msgid "Your installation of Advanced Ads is incomplete. If you installed Advanced Ads from GitHub, %1$s please refer to this document%2$s to set up your development environment." 65 68 msgstr "" … … 67 70 #. translators: %s: WP_ENVIRONMENT_TYPES 68 71 #: includes/class-autoloader.php:157 72 #, php-format 69 73 msgid "The %s constant is no longer supported." 70 74 msgstr "" … … 76 80 #. translators: %s: Plugin name 77 81 #: includes/class-bootstrap.php:109 82 #, php-format 78 83 msgid "Your version of <strong>Advanced Ads – Google AdSense In-feed Placement</strong> is incompatible with <strong>Advanced Ads %s</strong> and has been deactivated. Please update the plugin to the latest version." 79 84 msgstr "" … … 90 95 #. translators: %s: Plugin name 91 96 #: includes/class-bootstrap.php:155 97 #, php-format 92 98 msgid "Your versions of the Advanced Ads addons listed below are incompatible with <strong>Advanced Ads %s</strong> and have been deactivated. Please update the plugin to the latest version." 93 99 msgstr "" -
advanced-ads-adsense-in-feed/tags/2.1.1/packages/composer/platform_check.php
r3253296 r3366448 20 20 } 21 21 } 22 trigger_error( 23 'Composer detected issues in your platform: ' . implode(' ', $issues), 24 E_USER_ERROR 22 throw new \RuntimeException( 23 'Composer detected issues in your platform: ' . implode(' ', $issues) 25 24 ); 26 25 } -
advanced-ads-adsense-in-feed/tags/2.1.1/readme.txt
r3316358 r3366448 5 5 Tested up to: 6.8 6 6 Requires PHP: 7.4 7 Stable tag: 2.1. 07 Stable tag: 2.1.1 8 8 License: GPLv2 or later 9 9 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 43 43 == Changelog == 44 44 45 = 2.1.1 (September 23, 2025) = 46 47 - Improvement: add undefined translations 48 - Fix: prevent fatal error when handling invalid ads 49 45 50 = 2.1.0 (June 23, 2025) = 46 51 -
advanced-ads-adsense-in-feed/tags/2.1.1/wp.advads
r3316358 r3366448 3 3 "name": "Advanced Ads – Google AdSense In-feed Placement", 4 4 "description": "Display AdSense In-feed ads between posts", 5 "version": "2.1. 0",5 "version": "2.1.1", 6 6 "requireWP": "5.7", 7 7 "requirePHP": "7.4", -
advanced-ads-adsense-in-feed/trunk/advanced-ads-in-feed.php
r3316358 r3366448 11 11 * @wordpress-plugin 12 12 * Plugin Name: Advanced Ads – Google AdSense In-feed Placement 13 * Version: 2.1. 013 * Version: 2.1.1 14 14 * Description: Display AdSense In-feed ads between posts 15 15 * Plugin URI: https://wpadvancedads.com/ … … 38 38 39 39 define( 'AAINF_FILE', __FILE__ ); 40 define( 'AAINF_VERSION', '2.1. 0' );40 define( 'AAINF_VERSION', '2.1.1' ); 41 41 42 42 // Load the autoloader. -
advanced-ads-adsense-in-feed/trunk/includes/class-plugin.php
r3316358 r3366448 104 104 $ad = wp_advads_get_ad( $_item[1] ); 105 105 106 if ( ! $ad || ! is_object( $ad ) ) { 107 return false; 108 } 109 106 110 return $ad->is_type( 'adsense' ) && Str::contains( 'in-feed', $ad->get_content() ); 107 111 } -
advanced-ads-adsense-in-feed/trunk/languages/advanced-ads-adsense-in-feed.pot
r3316358 r3366448 3 3 msgid "" 4 4 msgstr "" 5 "Project-Id-Version: Advanced Ads – Google AdSense In-feed Placement 2. 0.0\n"5 "Project-Id-Version: Advanced Ads – Google AdSense In-feed Placement 2.1.0\n" 6 6 "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/advanced-ads-adsense-in-feed\n" 7 7 "Last-Translator: Shakeeb Ahmed <[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 6-23T13:01:46+00:00\n"12 "POT-Creation-Date: 2025-09-23T12:07:19+00:00\n" 13 13 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" 14 "X-Generator: WP-CLI 2.1 1.0\n"14 "X-Generator: WP-CLI 2.12.0\n" 15 15 "X-Domain: advanced-ads-adsense-in-feed\n" 16 16 … … 44 44 #. translators: %s is a link. 45 45 #: includes/admin/class-placement-settings.php:49 46 #, php-format 46 47 msgid "This placement can only deliver a single In-feed ad. Use the <a href=\"%s\" target=\"_blank\">Post Lists placement</a> for other ad types." 47 48 msgstr "" … … 49 50 #. translators: $s is an index, e.g., "5". 50 51 #: includes/admin/class-placement-settings.php:76 52 #, php-format 51 53 msgid "Inject before %s. post" 52 54 msgstr "" … … 62 64 #. translators: 1: is a link to a support document. 2: closing link 63 65 #: includes/class-autoloader.php:113 66 #, php-format 64 67 msgid "Your installation of Advanced Ads is incomplete. If you installed Advanced Ads from GitHub, %1$s please refer to this document%2$s to set up your development environment." 65 68 msgstr "" … … 67 70 #. translators: %s: WP_ENVIRONMENT_TYPES 68 71 #: includes/class-autoloader.php:157 72 #, php-format 69 73 msgid "The %s constant is no longer supported." 70 74 msgstr "" … … 76 80 #. translators: %s: Plugin name 77 81 #: includes/class-bootstrap.php:109 82 #, php-format 78 83 msgid "Your version of <strong>Advanced Ads – Google AdSense In-feed Placement</strong> is incompatible with <strong>Advanced Ads %s</strong> and has been deactivated. Please update the plugin to the latest version." 79 84 msgstr "" … … 90 95 #. translators: %s: Plugin name 91 96 #: includes/class-bootstrap.php:155 97 #, php-format 92 98 msgid "Your versions of the Advanced Ads addons listed below are incompatible with <strong>Advanced Ads %s</strong> and have been deactivated. Please update the plugin to the latest version." 93 99 msgstr "" -
advanced-ads-adsense-in-feed/trunk/packages/composer/platform_check.php
r3253296 r3366448 20 20 } 21 21 } 22 trigger_error( 23 'Composer detected issues in your platform: ' . implode(' ', $issues), 24 E_USER_ERROR 22 throw new \RuntimeException( 23 'Composer detected issues in your platform: ' . implode(' ', $issues) 25 24 ); 26 25 } -
advanced-ads-adsense-in-feed/trunk/readme.txt
r3316358 r3366448 5 5 Tested up to: 6.8 6 6 Requires PHP: 7.4 7 Stable tag: 2.1. 07 Stable tag: 2.1.1 8 8 License: GPLv2 or later 9 9 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 43 43 == Changelog == 44 44 45 = 2.1.1 (September 23, 2025) = 46 47 - Improvement: add undefined translations 48 - Fix: prevent fatal error when handling invalid ads 49 45 50 = 2.1.0 (June 23, 2025) = 46 51 -
advanced-ads-adsense-in-feed/trunk/wp.advads
r3316358 r3366448 3 3 "name": "Advanced Ads – Google AdSense In-feed Placement", 4 4 "description": "Display AdSense In-feed ads between posts", 5 "version": "2.1. 0",5 "version": "2.1.1", 6 6 "requireWP": "5.7", 7 7 "requirePHP": "7.4",
Note: See TracChangeset
for help on using the changeset viewer.