Plugin Directory

Changeset 3366448


Ignore:
Timestamp:
09/23/2025 12:10:10 PM (3 months ago)
Author:
advancedads
Message:

Update to version 2.1.1 from GitHub

Location:
advanced-ads-adsense-in-feed
Files:
12 edited
1 copied

Legend:

Unmodified
Added
Removed
  • advanced-ads-adsense-in-feed/tags/2.1.1/advanced-ads-in-feed.php

    r3316358 r3366448  
    1111 * @wordpress-plugin
    1212 * Plugin Name:       Advanced Ads – Google AdSense In-feed Placement
    13  * Version:           2.1.0
     13 * Version:           2.1.1
    1414 * Description:       Display AdSense In-feed ads between posts
    1515 * Plugin URI:        https://wpadvancedads.com/
     
    3838
    3939define( 'AAINF_FILE', __FILE__ );
    40 define( 'AAINF_VERSION', '2.1.0' );
     40define( 'AAINF_VERSION', '2.1.1' );
    4141
    4242// Load the autoloader.
  • advanced-ads-adsense-in-feed/tags/2.1.1/includes/class-plugin.php

    r3316358 r3366448  
    104104        $ad = wp_advads_get_ad( $_item[1] );
    105105
     106        if ( ! $ad || ! is_object( $ad ) ) {
     107            return false;
     108        }
     109
    106110        return $ad->is_type( 'adsense' ) && Str::contains( 'in-feed', $ad->get_content() );
    107111    }
  • advanced-ads-adsense-in-feed/tags/2.1.1/languages/advanced-ads-adsense-in-feed.pot

    r3316358 r3366448  
    33msgid ""
    44msgstr ""
    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"
    66"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/advanced-ads-adsense-in-feed\n"
    77"Last-Translator: Shakeeb Ahmed <[email protected]>\n"
     
    1010"Content-Type: text/plain; charset=UTF-8\n"
    1111"Content-Transfer-Encoding: 8bit\n"
    12 "POT-Creation-Date: 2025-06-23T13:01:46+00:00\n"
     12"POT-Creation-Date: 2025-09-23T12:07:19+00:00\n"
    1313"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
    14 "X-Generator: WP-CLI 2.11.0\n"
     14"X-Generator: WP-CLI 2.12.0\n"
    1515"X-Domain: advanced-ads-adsense-in-feed\n"
    1616
     
    4444#. translators: %s is a link.
    4545#: includes/admin/class-placement-settings.php:49
     46#, php-format
    4647msgid "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."
    4748msgstr ""
     
    4950#. translators: $s is an index, e.g., "5".
    5051#: includes/admin/class-placement-settings.php:76
     52#, php-format
    5153msgid "Inject before %s. post"
    5254msgstr ""
     
    6264#. translators: 1: is a link to a support document. 2: closing link
    6365#: includes/class-autoloader.php:113
     66#, php-format
    6467msgid "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."
    6568msgstr ""
     
    6770#. translators: %s: WP_ENVIRONMENT_TYPES
    6871#: includes/class-autoloader.php:157
     72#, php-format
    6973msgid "The %s constant is no longer supported."
    7074msgstr ""
     
    7680#. translators: %s: Plugin name
    7781#: includes/class-bootstrap.php:109
     82#, php-format
    7883msgid "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."
    7984msgstr ""
     
    9095#. translators: %s: Plugin name
    9196#: includes/class-bootstrap.php:155
     97#, php-format
    9298msgid "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."
    9399msgstr ""
  • advanced-ads-adsense-in-feed/tags/2.1.1/packages/composer/platform_check.php

    r3253296 r3366448  
    2020        }
    2121    }
    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)
    2524    );
    2625}
  • advanced-ads-adsense-in-feed/tags/2.1.1/readme.txt

    r3316358 r3366448  
    55Tested up to: 6.8
    66Requires PHP: 7.4
    7 Stable tag: 2.1.0
     7Stable tag: 2.1.1
    88License: GPLv2 or later
    99License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    4343== Changelog ==
    4444
     45= 2.1.1 (September 23, 2025) =
     46
     47- Improvement: add undefined translations
     48- Fix: prevent fatal error when handling invalid ads
     49
    4550= 2.1.0 (June 23, 2025) =
    4651
  • advanced-ads-adsense-in-feed/tags/2.1.1/wp.advads

    r3316358 r3366448  
    33    "name": "Advanced Ads – Google AdSense In-feed Placement",
    44    "description": "Display AdSense In-feed ads between posts",
    5     "version": "2.1.0",
     5    "version": "2.1.1",
    66    "requireWP": "5.7",
    77    "requirePHP": "7.4",
  • advanced-ads-adsense-in-feed/trunk/advanced-ads-in-feed.php

    r3316358 r3366448  
    1111 * @wordpress-plugin
    1212 * Plugin Name:       Advanced Ads – Google AdSense In-feed Placement
    13  * Version:           2.1.0
     13 * Version:           2.1.1
    1414 * Description:       Display AdSense In-feed ads between posts
    1515 * Plugin URI:        https://wpadvancedads.com/
     
    3838
    3939define( 'AAINF_FILE', __FILE__ );
    40 define( 'AAINF_VERSION', '2.1.0' );
     40define( 'AAINF_VERSION', '2.1.1' );
    4141
    4242// Load the autoloader.
  • advanced-ads-adsense-in-feed/trunk/includes/class-plugin.php

    r3316358 r3366448  
    104104        $ad = wp_advads_get_ad( $_item[1] );
    105105
     106        if ( ! $ad || ! is_object( $ad ) ) {
     107            return false;
     108        }
     109
    106110        return $ad->is_type( 'adsense' ) && Str::contains( 'in-feed', $ad->get_content() );
    107111    }
  • advanced-ads-adsense-in-feed/trunk/languages/advanced-ads-adsense-in-feed.pot

    r3316358 r3366448  
    33msgid ""
    44msgstr ""
    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"
    66"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/advanced-ads-adsense-in-feed\n"
    77"Last-Translator: Shakeeb Ahmed <[email protected]>\n"
     
    1010"Content-Type: text/plain; charset=UTF-8\n"
    1111"Content-Transfer-Encoding: 8bit\n"
    12 "POT-Creation-Date: 2025-06-23T13:01:46+00:00\n"
     12"POT-Creation-Date: 2025-09-23T12:07:19+00:00\n"
    1313"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
    14 "X-Generator: WP-CLI 2.11.0\n"
     14"X-Generator: WP-CLI 2.12.0\n"
    1515"X-Domain: advanced-ads-adsense-in-feed\n"
    1616
     
    4444#. translators: %s is a link.
    4545#: includes/admin/class-placement-settings.php:49
     46#, php-format
    4647msgid "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."
    4748msgstr ""
     
    4950#. translators: $s is an index, e.g., "5".
    5051#: includes/admin/class-placement-settings.php:76
     52#, php-format
    5153msgid "Inject before %s. post"
    5254msgstr ""
     
    6264#. translators: 1: is a link to a support document. 2: closing link
    6365#: includes/class-autoloader.php:113
     66#, php-format
    6467msgid "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."
    6568msgstr ""
     
    6770#. translators: %s: WP_ENVIRONMENT_TYPES
    6871#: includes/class-autoloader.php:157
     72#, php-format
    6973msgid "The %s constant is no longer supported."
    7074msgstr ""
     
    7680#. translators: %s: Plugin name
    7781#: includes/class-bootstrap.php:109
     82#, php-format
    7883msgid "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."
    7984msgstr ""
     
    9095#. translators: %s: Plugin name
    9196#: includes/class-bootstrap.php:155
     97#, php-format
    9298msgid "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."
    9399msgstr ""
  • advanced-ads-adsense-in-feed/trunk/packages/composer/platform_check.php

    r3253296 r3366448  
    2020        }
    2121    }
    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)
    2524    );
    2625}
  • advanced-ads-adsense-in-feed/trunk/readme.txt

    r3316358 r3366448  
    55Tested up to: 6.8
    66Requires PHP: 7.4
    7 Stable tag: 2.1.0
     7Stable tag: 2.1.1
    88License: GPLv2 or later
    99License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    4343== Changelog ==
    4444
     45= 2.1.1 (September 23, 2025) =
     46
     47- Improvement: add undefined translations
     48- Fix: prevent fatal error when handling invalid ads
     49
    4550= 2.1.0 (June 23, 2025) =
    4651
  • advanced-ads-adsense-in-feed/trunk/wp.advads

    r3316358 r3366448  
    33    "name": "Advanced Ads – Google AdSense In-feed Placement",
    44    "description": "Display AdSense In-feed ads between posts",
    5     "version": "2.1.0",
     5    "version": "2.1.1",
    66    "requireWP": "5.7",
    77    "requirePHP": "7.4",
Note: See TracChangeset for help on using the changeset viewer.