Changeset 3243197
- Timestamp:
- 02/19/2025 11:42:55 AM (10 months ago)
- Location:
- advanced-ads
- Files:
-
- 10 added
- 38 edited
- 1 copied
-
tags/1.56.2 (copied) (copied from advanced-ads/trunk)
-
tags/1.56.2/admin/includes/class-ad-type.php (modified) (1 diff)
-
tags/1.56.2/admin/includes/class-licenses.php (modified) (1 diff)
-
tags/1.56.2/admin/includes/class-settings.php (modified) (2 diffs)
-
tags/1.56.2/admin/views/settings/license/section.php (modified) (2 diffs)
-
tags/1.56.2/admin/views/support.php (modified) (1 diff)
-
tags/1.56.2/advanced-ads.php (modified) (2 diffs)
-
tags/1.56.2/includes/admin/class-action-links.php (modified) (2 diffs)
-
tags/1.56.2/includes/admin/class-page-quick-edit.php (modified) (1 diff)
-
tags/1.56.2/includes/class-entities.php (modified) (1 diff)
-
tags/1.56.2/includes/class-plugin.php (modified) (1 diff)
-
tags/1.56.2/includes/crons (added)
-
tags/1.56.2/includes/crons/class-license-reminder.php (added)
-
tags/1.56.2/languages/advanced-ads.pot (modified) (22 diffs)
-
tags/1.56.2/lib/composer/autoload_classmap.php (modified) (1 diff)
-
tags/1.56.2/lib/composer/autoload_static.php (modified) (1 diff)
-
tags/1.56.2/modules/one-click/class-page-parser.php (modified) (1 diff)
-
tags/1.56.2/packages/composer/autoload_classmap.php (modified) (1 diff)
-
tags/1.56.2/packages/composer/autoload_static.php (modified) (1 diff)
-
tags/1.56.2/readme.txt (modified) (2 diffs)
-
tags/1.56.2/templates (added)
-
tags/1.56.2/templates/emails (added)
-
tags/1.56.2/templates/emails/license-reminder.php (added)
-
tags/1.56.2/views/admin/screens/dashboard.php (modified) (1 diff)
-
tags/1.56.2/views/admin/screens/settings.php (modified) (1 diff)
-
trunk/admin/includes/class-ad-type.php (modified) (1 diff)
-
trunk/admin/includes/class-licenses.php (modified) (1 diff)
-
trunk/admin/includes/class-settings.php (modified) (2 diffs)
-
trunk/admin/views/settings/license/section.php (modified) (2 diffs)
-
trunk/admin/views/support.php (modified) (1 diff)
-
trunk/advanced-ads.php (modified) (2 diffs)
-
trunk/includes/admin/class-action-links.php (modified) (2 diffs)
-
trunk/includes/admin/class-page-quick-edit.php (modified) (1 diff)
-
trunk/includes/class-entities.php (modified) (1 diff)
-
trunk/includes/class-plugin.php (modified) (1 diff)
-
trunk/includes/crons (added)
-
trunk/includes/crons/class-license-reminder.php (added)
-
trunk/languages/advanced-ads.pot (modified) (22 diffs)
-
trunk/lib/composer/autoload_classmap.php (modified) (1 diff)
-
trunk/lib/composer/autoload_static.php (modified) (1 diff)
-
trunk/modules/one-click/class-page-parser.php (modified) (1 diff)
-
trunk/packages/composer/autoload_classmap.php (modified) (1 diff)
-
trunk/packages/composer/autoload_static.php (modified) (1 diff)
-
trunk/readme.txt (modified) (2 diffs)
-
trunk/templates (added)
-
trunk/templates/emails (added)
-
trunk/templates/emails/license-reminder.php (added)
-
trunk/views/admin/screens/dashboard.php (modified) (1 diff)
-
trunk/views/admin/screens/settings.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
advanced-ads/tags/1.56.2/admin/includes/class-ad-type.php
r3063392 r3243197 639 639 $minute = absint( $_POST['advanced_ad']['expiry_date']['minute'] ); 640 640 641 $expiration_date = sprintf( '%04d-%02d-%02d %02d:%02d:%02d', $year, $month, $day, $hour, $minute, '00' ); 642 $valid_date = wp_checkdate( $month, $day, $year, $expiration_date ); 643 644 if ( ! $valid_date ) { 641 $expiration_date = date_create( sprintf( '%04d-%02d-%02d %02d:%02d:%02d', $year, $month, $day, $hour, $minute, '00' ), Advanced_Ads_Utils::get_wp_timezone() ); 642 643 if ( ! $expiration_date ) { 645 644 $ad->expiry_date = 0; 646 645 } else { 647 $gm_date = date_create( $expiration_date, Advanced_Ads_Utils::get_wp_timezone() ); 648 $gm_date->setTimezone( new DateTimeZone( 'UTC' ) ); 649 $gm_date = $gm_date->format( 'Y-m-d-H-i' ); 650 list( $year, $month, $day, $hour, $minute ) = explode( '-', $gm_date ); 651 $ad->expiry_date = gmmktime( $hour, $minute, 0, $month, $day, $year ); 646 $expiration_date->setTimezone( new DateTimeZone( 'UTC' ) ); 647 $gm_date = $expiration_date->format( 'Y-m-d-H-i' ); 648 [ $year, $month, $day, $hour, $minute ] = explode( '-', $gm_date ); 649 $ad->expiry_date = gmmktime( $hour, $minute, 0, $month, $day, $year ); 652 650 } 653 651 } else { -
advanced-ads/tags/1.56.2/admin/includes/class-licenses.php
r2991956 r3243197 713 713 foreach ( $add_ons as $_add_on_key => $_add_on ) { 714 714 // identify the add-on based on the name 715 if ( ! isset( $ add_on['name'] ) || $params->name !== $add_on['name'] ) {715 if ( ! isset( $_add_on['name'] ) || $params->name !== $_add_on['name'] ) { 716 716 continue; 717 717 } -
advanced-ads/tags/1.56.2/admin/includes/class-settings.php
r2983598 r3243197 2 2 3 3 use AdvancedAds\Utilities\WordPress; 4 use AdvancedAds\Framework\Utilities\Arr; 4 5 5 6 /** … … 384 385 */ 385 386 public function render_settings_licenses_section_callback() { 387 $no_weekly_reminder = Arr::get( Advanced_Ads_Admin_Licenses::get_instance()->get_licenses(), 'no-weekly-reminder', 0 ); 388 386 389 include ADVADS_ABSPATH . 'admin/views/settings/license/section.php'; 387 390 } -
advanced-ads/tags/1.56.2/admin/views/settings/license/section.php
r2986093 r3243197 1 <?php 2 /** 3 * License settings. 4 * 5 * @package AdvancedAds 6 * 7 * @var bool $no_weekly_reminder Disable weekly reminders about missing licenses. 8 */ 9 10 ?> 1 11 <p> 2 12 <a href="https://wpadvancedads.com/manual/how-to-install-an-add-on/?utm_source=advanced-ads&utm_medium=link&utm_campaign=settings-licenses-install-add-ons" target="_blank"> … … 19 29 ?> 20 30 </p> 31 <p> 32 <label for="advads-disable-weekly-reminders"> 33 <input type="checkbox" id="advads-disable-weekly-reminders" name="advanced-ads-licenses[no-weekly-reminder]" value="1" <?php checked( $no_weekly_reminder, 1 ); ?> /> 34 <?php esc_html_e( 'Disable weekly reminders about missing licenses.', 'advanced-ads' ); ?> 35 </label> 36 </p> 21 37 <input type="hidden" id="advads-licenses-ajax-referrer" value="<?php echo esc_attr( wp_create_nonce( 'advads_ajax_license_nonce' ) ); ?>"/> 38 -
advanced-ads/tags/1.56.2/admin/views/support.php
r3187581 r3243197 73 73 <?php endif; ?> 74 74 </div> 75 <?php AdvancedAds\Modules\ProductExperimentationFramework\Module::get_instance()->render( 'support' ); ?> -
advanced-ads/tags/1.56.2/advanced-ads.php
r3194748 r3243197 13 13 * Plugin URI: https://wpadvancedads.com 14 14 * Description: Manage and optimize your ads in WordPress 15 * Version: 1.56. 115 * Version: 1.56.2 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. 1' );36 define( 'ADVADS_VERSION', '1.56.2' ); 37 37 38 38 // Load the autoloader. -
advanced-ads/tags/1.56.2/includes/admin/class-action-links.php
r2983598 r3243197 33 33 add_filter( 'admin_footer_text', [ $this, 'admin_footer_text' ], 100 ); 34 34 add_action( 'wp_ajax_advads_send_feedback', [ $this, 'send_feedback' ] ); 35 add_action( 'admin_notices', [ $this, 'show_rollback_notice' ] ); 35 36 } 36 37 … … 171 172 die(); 172 173 } 174 175 176 /** 177 * Show notice to roll back to a previous version. 178 * 179 * @return void 180 */ 181 public function show_rollback_notice(): void { 182 // show only on plugins page. 183 if ( 'plugins' !== get_current_screen()->id ) { 184 return; 185 } 186 187 $rollback = filter_input( INPUT_GET, 'rollback', FILTER_VALIDATE_BOOL ); 188 if ( ! $rollback ) { 189 return; 190 } 191 192 $rollback_notification = defined( 'ADVADS_VERSION' ) 193 ? sprintf( esc_html__( 'You have successfully rolled back to Advanced Ads %s', 'advanced-ads' ), ADVADS_VERSION ) 194 : esc_html__( 'You have successfully rolled back to a previous version of Advanced Ads.', 'advanced-ads' ); 195 196 ?> 197 <div class="notice notice-success is-dismissible"> 198 <p> 199 <?php esc_html_e( $rollback_notification ); ?> 200 </p> 201 </div> 202 <?php 203 } 173 204 } -
advanced-ads/tags/1.56.2/includes/admin/class-page-quick-edit.php
r3134243 r3243197 26 26 * @return void 27 27 */ 28 public function hooks() {28 public function hooks(): void { 29 29 add_action( 'quick_edit_custom_box', [ $this, 'add_quick_edit_fields' ], 10, 2 ); 30 30 add_action( 'bulk_edit_custom_box', [ $this, 'add_bulk_edit_fields' ], 10, 2 ); -
advanced-ads/tags/1.56.2/includes/class-entities.php
r2983598 r3243197 35 35 /** 36 36 * Hook into WordPress. 37 * 38 * @return void 37 39 */ 38 public function hooks() {40 public function hooks(): void { 39 41 $this->register_ad_post_type(); 40 42 $this->register_group_taxonomy(); -
advanced-ads/tags/1.56.2/includes/class-plugin.php
r3145275 r3243197 172 172 // Common. 173 173 $this->register_initializer( Install::class ); 174 $this->register_initializer( Crons\License_Reminder::class ); 175 174 176 $this->register_integration( Entities::class ); 175 177 $this->register_integration( Assets_Registry::class, 'registry' ); -
advanced-ads/tags/1.56.2/languages/advanced-ads.pot
r3194748 r3243197 1 # Copyright (C) 202 4Advanced Ads1 # Copyright (C) 2025 Advanced Ads 2 2 # This file is distributed under the GPL-2.0+. 3 3 msgid "" 4 4 msgstr "" 5 "Project-Id-Version: Advanced Ads 1.56. 0\n"5 "Project-Id-Version: Advanced Ads 1.56.1\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: 202 4-11-22T08:20:46+00:00\n"12 "POT-Creation-Date: 2025-02-19T11:41:36+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" … … 250 250 251 251 #. Translators: %s is the time the ad was first saved. 252 #: admin/includes/class-ad-type.php:69 7252 #: admin/includes/class-ad-type.php:695 253 253 msgid "Ad created on %s" 254 254 msgstr "" 255 255 256 #: admin/includes/class-ad-type.php:882 257 #: admin/includes/class-ad-type.php:883 258 msgid "Ad updated." 259 msgstr "" 260 261 #. translators: %s: date and time of the revision 256 262 #: admin/includes/class-ad-type.php:884 263 msgid "Ad restored to revision from %s" 264 msgstr "" 265 257 266 #: admin/includes/class-ad-type.php:885 258 msgid "Ad updated."259 msgstr ""260 261 #. translators: %s: date and time of the revision262 267 #: admin/includes/class-ad-type.php:886 263 msgid "Ad restored to revision from %s"268 msgid "Ad saved." 264 269 msgstr "" 265 270 266 271 #: admin/includes/class-ad-type.php:887 267 #: admin/includes/class-ad-type.php:888268 msgid "Ad saved."269 msgstr ""270 271 #: admin/includes/class-ad-type.php:889272 272 msgid "Ad submitted." 273 273 msgstr "" 274 274 275 275 #. translators: %1$s is a date. 276 #: admin/includes/class-ad-type.php:890 277 msgid "Ad scheduled for: <strong>%1$s</strong>." 278 msgstr "" 279 280 #. translators: Publish box date format, see http://php.net/date. 276 281 #: admin/includes/class-ad-type.php:892 277 msgid "Ad scheduled for: <strong>%1$s</strong>." 278 msgstr "" 279 280 #. translators: Publish box date format, see http://php.net/date. 282 msgid "M j, Y @ G:i" 283 msgstr "" 284 281 285 #: admin/includes/class-ad-type.php:894 282 msgid "M j, Y @ G:i"283 msgstr ""284 285 #: admin/includes/class-ad-type.php:896286 286 msgid "Ad draft updated." 287 287 msgstr "" 288 288 289 #: admin/includes/class-ad-type.php:95 2289 #: admin/includes/class-ad-type.php:950 290 290 msgid "You don’t have access to ads. Please deactivate and re-enable Advanced Ads again to fix this." 291 291 msgstr "" 292 292 293 #: admin/includes/class-ad-type.php:95 3293 #: admin/includes/class-ad-type.php:951 294 294 #: classes/frontend_checks.php:546 295 295 msgid "Get help" … … 297 297 298 298 #. translators: %s is a date. 299 #: admin/includes/class-ad-type.php:117 4299 #: admin/includes/class-ad-type.php:1172 300 300 #: admin/views/ad-list/timing.php:21 301 301 msgid "starts %s" … … 303 303 304 304 #. translators: %s is a date. 305 #: admin/includes/class-ad-type.php:119 5305 #: admin/includes/class-ad-type.php:1193 306 306 #: admin/views/ad-list/timing.php:59 307 307 msgid "expires %s" … … 309 309 310 310 #. translators: %s is a date. 311 #: admin/includes/class-ad-type.php:119 9311 #: admin/includes/class-ad-type.php:1197 312 312 msgid "expired %s" 313 313 msgstr "" 314 314 315 #: admin/includes/class-ad-type.php:120 5315 #: admin/includes/class-ad-type.php:1203 316 316 msgid "Published" 317 317 msgstr "" … … 461 461 462 462 #: admin/includes/class-meta-box.php:153 463 #: admin/includes/class-settings.php:7 3463 #: admin/includes/class-settings.php:74 464 464 msgid "Layout / Output" 465 465 msgstr "" … … 572 572 573 573 #: admin/includes/class-overview-widgets.php:75 574 #: includes/admin/class-action-links.php: 59574 #: includes/admin/class-action-links.php:60 575 575 msgid "Add-Ons" 576 576 msgstr "" … … 790 790 msgstr "" 791 791 792 #: admin/includes/class-settings.php:5 7792 #: admin/includes/class-settings.php:58 793 793 msgid "Admin" 794 794 msgstr "" 795 795 796 #: admin/includes/class-settings.php:6 5797 #: admin/includes/class-settings.php:14 6796 #: admin/includes/class-settings.php:66 797 #: admin/includes/class-settings.php:147 798 798 #: views/admin/page-bulk-edit.php:15 799 799 msgid "Disable ads" 800 800 msgstr "" 801 801 802 #: admin/includes/class-settings.php:8 1802 #: admin/includes/class-settings.php:82 803 803 msgid "Content injection" 804 804 msgstr "" 805 805 806 #: admin/includes/class-settings.php:15 4806 #: admin/includes/class-settings.php:155 807 807 msgid "Hide ads for user roles" 808 808 msgstr "" 809 809 810 #: admin/includes/class-settings.php:16 2810 #: admin/includes/class-settings.php:163 811 811 msgid "Content placement in post lists" 812 812 msgstr "" 813 813 814 #: admin/includes/class-settings.php:17 0814 #: admin/includes/class-settings.php:171 815 815 msgid "Priority of content injection filter" 816 816 msgstr "" 817 817 818 #: admin/includes/class-settings.php:17 8818 #: admin/includes/class-settings.php:179 819 819 #: classes/in-content-injector.php:617 820 820 msgid "Disable level limitation" 821 821 msgstr "" 822 822 823 #: admin/includes/class-settings.php:18 6823 #: admin/includes/class-settings.php:187 824 824 msgid "Hide ads from bots" 825 825 msgstr "" 826 826 827 #: admin/includes/class-settings.php:19 5827 #: admin/includes/class-settings.php:196 828 828 msgid "Disable ads for post types" 829 829 msgstr "" 830 830 831 #: admin/includes/class-settings.php:20 4831 #: admin/includes/class-settings.php:205 832 832 msgid "Disable Ad Health and other notices" 833 833 msgstr "" 834 834 835 #: admin/includes/class-settings.php:21 2835 #: admin/includes/class-settings.php:213 836 836 msgid "ID prefix" 837 837 msgstr "" 838 838 839 #: admin/includes/class-settings.php:22 0839 #: admin/includes/class-settings.php:221 840 840 msgid "Allow editors to manage ads" 841 841 msgstr "" 842 842 843 843 #. translators: unfiltered_html 844 #: admin/includes/class-settings.php:23 1844 #: admin/includes/class-settings.php:232 845 845 msgid "Add the %s capability to user roles on multisite" 846 846 msgstr "" 847 847 848 #: admin/includes/class-settings.php:24 1848 #: admin/includes/class-settings.php:242 849 849 msgid "Ad label" 850 850 msgstr "" 851 851 852 #: admin/includes/class-settings.php:25 0852 #: admin/includes/class-settings.php:251 853 853 msgid "Open links in a new window" 854 854 msgstr "" 855 855 856 #: admin/includes/class-settings.php:25 8856 #: admin/includes/class-settings.php:259 857 857 msgid "Use advanced JavaScript" 858 858 msgstr "" 859 859 860 #: admin/includes/class-settings.php:26 8860 #: admin/includes/class-settings.php:269 861 861 msgid "Delete data on uninstall" 862 862 msgstr "" 863 863 864 #: admin/includes/class-settings.php:31 1864 #: admin/includes/class-settings.php:312 865 865 #: includes/admin/class-admin-menu.php:103 866 866 #: includes/admin/class-admin-menu.php:107 … … 868 868 msgstr "" 869 869 870 #: admin/includes/class-settings.php:33 0870 #: admin/includes/class-settings.php:331 871 871 msgid "Pro" 872 872 msgstr "" 873 873 874 #: admin/includes/class-settings.php:34 8874 #: admin/includes/class-settings.php:349 875 875 #: admin/views/upgrades/tracking.php:2 876 876 msgid "Tracking" 877 877 msgstr "" 878 878 879 #: admin/includes/class-settings.php:39 4879 #: admin/includes/class-settings.php:397 880 880 msgid "Are you missing something?" 881 881 msgstr "" 882 882 883 #: admin/includes/class-settings.php:59 0883 #: admin/includes/class-settings.php:593 884 884 msgctxt "label before ads" 885 885 msgid "Advertisements" … … 898 898 #: includes/admin/pages/class-ads.php:35 899 899 #: includes/admin/pages/class-ads.php:36 900 #: includes/class-entities.php:5 5900 #: includes/class-entities.php:57 901 901 #: modules/gutenberg/includes/class-gutenberg.php:137 902 902 #: modules/import-export/views/page.php:23 … … 1800 1800 msgstr "" 1801 1801 1802 #: admin/views/settings/license/section.php: 31802 #: admin/views/settings/license/section.php:13 1803 1803 msgid "How to install and activate an add-on." 1804 1804 msgstr "" 1805 1805 1806 1806 #. translators: %s is a URL. 1807 #: admin/views/settings/license/section.php: 91807 #: admin/views/settings/license/section.php:19 1808 1808 msgid "See also <a href=\"%s\" target=\"_blank\">Issues and questions about licenses</a>." 1809 msgstr "" 1810 1811 #: admin/views/settings/license/section.php:34 1812 msgid "Disable weekly reminders about missing licenses." 1809 1813 msgstr "" 1810 1814 … … 2035 2039 #: classes/ad-debug.php:167 2036 2040 #: classes/ad-debug.php:169 2037 #: includes/class-entities.php:5 62041 #: includes/class-entities.php:58 2038 2042 #: modules/ad-positioning/views/ad-spacing.php:40 2039 2043 #: views/admin/screens/placements.php:366 … … 2043 2047 2044 2048 #: classes/ad-debug.php:121 2045 #: includes/class-entities.php:1 282049 #: includes/class-entities.php:130 2046 2050 msgctxt "ad group singular name" 2047 2051 msgid "Ad Group" … … 2740 2744 msgstr "" 2741 2745 2742 #: includes/admin/class-action-links.php:5 42746 #: includes/admin/class-action-links.php:55 2743 2747 #: includes/admin/class-admin-menu.php:88 2744 2748 #: includes/admin/class-admin-menu.php:91 … … 2747 2751 msgstr "" 2748 2752 2749 #: includes/admin/class-action-links.php:6 02753 #: includes/admin/class-action-links.php:61 2750 2754 msgid "See Pro Features" 2751 2755 msgstr "" 2752 2756 2753 2757 #. translators: %1$s is the URL to add a new review 2754 #: includes/admin/class-action-links.php:10 22758 #: includes/admin/class-action-links.php:103 2755 2759 msgid "Thank the developer with a ★★★★★ review on <a href=\"%1$s\" target=\"_blank\">wordpress.org</a>" 2760 msgstr "" 2761 2762 #: includes/admin/class-action-links.php:193 2763 msgid "You have successfully rolled back to Advanced Ads %s" 2764 msgstr "" 2765 2766 #: includes/admin/class-action-links.php:194 2767 msgid "You have successfully rolled back to a previous version of Advanced Ads." 2756 2768 msgstr "" 2757 2769 … … 2826 2838 2827 2839 #: includes/admin/class-groups-list-table.php:204 2828 #: includes/class-entities.php:1 382840 #: includes/class-entities.php:140 2829 2841 msgid "No Ad Group found" 2830 2842 msgstr "" … … 2847 2859 #: includes/admin/class-groups-list-table.php:345 2848 2860 #: includes/admin/class-groups-list-table.php:420 2849 #: includes/class-entities.php: 592861 #: includes/class-entities.php:61 2850 2862 #: modules/import-export/classes/import.php:168 2851 2863 #: modules/import-export/classes/import.php:211 … … 2893 2905 #: includes/admin/class-header.php:55 2894 2906 #: includes/admin/class-header.php:61 2895 #: includes/class-entities.php:5 72896 #: includes/class-entities.php:6 12907 #: includes/class-entities.php:59 2908 #: includes/class-entities.php:63 2897 2909 #: views/admin/tables/groups/list-row-option-ads.php:39 2898 2910 msgid "New Ad" … … 2908 2920 2909 2921 #: includes/admin/class-header.php:70 2910 #: includes/class-entities.php:13 52922 #: includes/class-entities.php:137 2911 2923 #: views/admin/screens/groups.php:38 2912 2924 msgid "New Ad Group" … … 3015 3027 msgstr "" 3016 3028 3017 #: includes/class-entities.php: 583029 #: includes/class-entities.php:60 3018 3030 msgid "Add New Ad" 3019 3031 msgstr "" 3020 3032 3021 #: includes/class-entities.php:6 03033 #: includes/class-entities.php:62 3022 3034 msgid "Edit Ad" 3023 3035 msgstr "" 3024 3036 3025 #: includes/class-entities.php:6 23037 #: includes/class-entities.php:64 3026 3038 msgid "View" 3027 3039 msgstr "" 3028 3040 3029 #: includes/class-entities.php:6 33041 #: includes/class-entities.php:65 3030 3042 msgid "View the Ad" 3031 3043 msgstr "" 3032 3044 3033 #: includes/class-entities.php:6 43045 #: includes/class-entities.php:66 3034 3046 msgid "Search Ads" 3035 3047 msgstr "" 3036 3048 3037 #: includes/class-entities.php:6 53049 #: includes/class-entities.php:67 3038 3050 msgid "No Ads found" 3039 3051 msgstr "" 3040 3052 3041 #: includes/class-entities.php:6 63053 #: includes/class-entities.php:68 3042 3054 msgid "No Ads found in Trash" 3043 3055 msgstr "" 3044 3056 3045 #: includes/class-entities.php:6 73057 #: includes/class-entities.php:69 3046 3058 msgid "Parent Ad" 3047 3059 msgstr "" 3048 3060 3049 #: includes/class-entities.php:12 73061 #: includes/class-entities.php:129 3050 3062 msgctxt "ad group general name" 3051 3063 msgid "Ad Groups & Rotations" 3052 3064 msgstr "" 3053 3065 3054 #: includes/class-entities.php:1 293066 #: includes/class-entities.php:131 3055 3067 msgid "Search Ad Groups" 3056 3068 msgstr "" 3057 3069 3058 #: includes/class-entities.php:13 03070 #: includes/class-entities.php:132 3059 3071 msgid "All Ad Groups" 3060 3072 msgstr "" 3061 3073 3062 #: includes/class-entities.php:13 13074 #: includes/class-entities.php:133 3063 3075 msgid "Parent Ad Groups" 3064 3076 msgstr "" 3065 3077 3066 #: includes/class-entities.php:13 23078 #: includes/class-entities.php:134 3067 3079 msgid "Parent Ad Groups:" 3068 3080 msgstr "" 3069 3081 3070 #: includes/class-entities.php:13 33082 #: includes/class-entities.php:135 3071 3083 msgid "Edit Ad Group" 3072 3084 msgstr "" 3073 3085 3074 #: includes/class-entities.php:13 43086 #: includes/class-entities.php:136 3075 3087 msgid "Update Ad Group" 3076 3088 msgstr "" 3077 3089 3078 #: includes/class-entities.php:13 63090 #: includes/class-entities.php:138 3079 3091 msgid "New Ad Groups Name" 3080 3092 msgstr "" 3081 3093 3082 #: includes/class-entities.php:13 73094 #: includes/class-entities.php:139 3083 3095 #: modules/import-export/views/page.php:24 3084 3096 msgid "Groups" 3085 3097 msgstr "" 3086 3098 3087 #: includes/class-entities.php:17 33099 #: includes/class-entities.php:175 3088 3100 msgid "Placements are customizable ad spots on your site. Use them to see and change all the assigned ads and groups on this page. Furthermore, you can set up exclusive features like Cache Busting, Lazy Loading, AdBlocker fallbacks, or Parallax effects." 3089 3101 msgstr "" 3090 3102 3091 #: includes/class-entities.php:18 23103 #: includes/class-entities.php:184 3092 3104 msgid "Ad Groups are a flexible method to bundle ads. Use them to create ad rotations, run split tests, and organize your ads in the backend. An ad can belong to multiple ad groups." 3105 msgstr "" 3106 3107 #: includes/crons/class-license-reminder.php:48 3108 msgid "Reminder: Activate your Advanced Ads licenses for updates" 3093 3109 msgstr "" 3094 3110 … … 4342 4358 msgstr "" 4343 4359 4360 #: templates/emails/license-reminder.php:10 4361 msgid "Hi there," 4362 msgstr "" 4363 4364 #. translators: %s: Website URL 4365 #: templates/emails/license-reminder.php:16 4366 msgid "This is a weekly reminder that one or more of your Advanced Ads add-ons on %s doesn’t have a license key enabled." 4367 msgstr "" 4368 4369 #. translators: %1$s: Opening anchor tag, %2$s: Closing anchor tag 4370 #: templates/emails/license-reminder.php:26 4371 msgid "%1$sPlease visit the license page%2$s to make sure that all add-ons have valid licenses and that the keys are activated." 4372 msgstr "" 4373 4374 #. translators: %1$s: Opening anchor tag, %2$s: Closing anchor tag 4375 #: templates/emails/license-reminder.php:37 4376 msgid "This email is sent in preparation for the upcoming Advanced Ads 2.0 update, to ensure compatibility and avoid potential issues caused by outdated plugin versions. %1$sRead more on the Advanced Ads website.%2$s" 4377 msgstr "" 4378 4379 #. translators: %1$s: Opening anchor tag, %2$s: Closing anchor tag 4380 #: templates/emails/license-reminder.php:48 4381 msgid "%1$sYou can disable this reminder here.%2$s" 4382 msgstr "" 4383 4384 #: templates/emails/license-reminder.php:55 4385 msgid "Kind regards" 4386 msgstr "" 4387 4388 #: templates/emails/license-reminder.php:55 4389 msgid "The Advanced Ads team" 4390 msgstr "" 4391 4344 4392 #: views/admin/feedback-disable.php:16 4345 4393 msgid "Why did you decide to disable Advanced Ads?" -
advanced-ads/tags/1.56.2/lib/composer/autoload_classmap.php
r3145275 r3243197 56 56 'AdvancedAds\\BuildTools\\Values\\Translation' => $vendorDir . '/advanced-ads/build-tools/src/Values/Translation.php', 57 57 'AdvancedAds\\Constants' => $baseDir . '/includes/class-constants.php', 58 'AdvancedAds\\Crons\\License_Reminder' => $baseDir . '/includes/crons/class-license-reminder.php', 58 59 'AdvancedAds\\Entities' => $baseDir . '/includes/class-entities.php', 59 60 'AdvancedAds\\Groups\\Manager' => $baseDir . '/includes/groups/class-manager.php', -
advanced-ads/tags/1.56.2/lib/composer/autoload_static.php
r3145275 r3243197 86 86 'AdvancedAds\\BuildTools\\Values\\Translation' => __DIR__ . '/..' . '/advanced-ads/build-tools/src/Values/Translation.php', 87 87 'AdvancedAds\\Constants' => __DIR__ . '/../..' . '/includes/class-constants.php', 88 'AdvancedAds\\Crons\\License_Reminder' => __DIR__ . '/../..' . '/includes/crons/class-license-reminder.php', 88 89 'AdvancedAds\\Entities' => __DIR__ . '/../..' . '/includes/class-entities.php', 89 90 'AdvancedAds\\Groups\\Manager' => __DIR__ . '/../..' . '/includes/groups/class-manager.php', -
advanced-ads/tags/1.56.2/modules/one-click/class-page-parser.php
r3041809 r3243197 47 47 * Hook into WordPress. 48 48 */ 49 public function hooks() {49 public function hooks(): void { 50 50 add_action( 'template_redirect', [ $this, 'start_buffer' ], -9999 ); 51 51 add_action( 'wp_footer', [ $this, 'flush_page' ], 9999 ); -
advanced-ads/tags/1.56.2/packages/composer/autoload_classmap.php
r3145275 r3243197 15 15 'AdvancedAds\\Admin\\Groups_List_Table' => $baseDir . '/includes/admin/class-groups-list-table.php', 16 16 'AdvancedAds\\Admin\\Header' => $baseDir . '/includes/admin/class-header.php', 17 'AdvancedAds\\Admin\\License_Reminder' => $baseDir . '/includes/admin/class-license-reminder.php', 17 18 'AdvancedAds\\Admin\\Page_Quick_Edit' => $baseDir . '/includes/admin/class-page-quick-edit.php', 18 19 'AdvancedAds\\Admin\\Pages\\Ads' => $baseDir . '/includes/admin/pages/class-ads.php', -
advanced-ads/tags/1.56.2/packages/composer/autoload_static.php
r3145275 r3243197 44 44 'AdvancedAds\\Admin\\Groups_List_Table' => __DIR__ . '/../..' . '/includes/admin/class-groups-list-table.php', 45 45 'AdvancedAds\\Admin\\Header' => __DIR__ . '/../..' . '/includes/admin/class-header.php', 46 'AdvancedAds\\Admin\\License_Reminder' => __DIR__ . '/../..' . '/includes/admin/class-license-reminder.php', 46 47 'AdvancedAds\\Admin\\Page_Quick_Edit' => __DIR__ . '/../..' . '/includes/admin/class-page-quick-edit.php', 47 48 'AdvancedAds\\Admin\\Pages\\Ads' => __DIR__ . '/../..' . '/includes/admin/pages/class-ads.php', -
advanced-ads/tags/1.56.2/readme.txt
r3194748 r3243197 5 5 Tested up to: 6.6 6 6 Requires PHP: 7.2 7 Stable tag: 1.56. 17 Stable tag: 1.56.2 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.2 (February 19, 2025) = 360 361 - Fix: resolve an issue occurring when setting an expiration date 362 - Fix: update the licence status of premium plugins correctly 363 359 364 = 1.56.1 (November 22, 2024) = 360 365 -
advanced-ads/tags/1.56.2/views/admin/screens/dashboard.php
r3187581 r3243197 7 7 */ 8 8 9 use AdvancedAds\Modules\ProductExperimentationFramework\Module;10 11 9 ?> 12 10 <div class="wrap"> 13 11 <div id="advads-overview"> 14 <?php Module::get_instance()->render( 'overview' ); ?>15 12 <?php Advanced_Ads_Overview_Widgets_Callbacks::setup_overview_widgets(); ?> 16 13 </div> -
advanced-ads/tags/1.56.2/views/admin/screens/settings.php
r2983598 r3243197 43 43 44 44 do_action( 'advanced-ads-settings-form', $_setting_tab_id, $_setting_tab ); 45 if ( isset( $_setting_tab['group'] ) && 'advanced-ads-licenses' !== $_setting_tab['group']) {45 if ( isset( $_setting_tab['group'] ) ) { 46 46 submit_button( __( 'Save settings on this page', 'advanced-ads' ) ); 47 47 } -
advanced-ads/trunk/admin/includes/class-ad-type.php
r3063392 r3243197 639 639 $minute = absint( $_POST['advanced_ad']['expiry_date']['minute'] ); 640 640 641 $expiration_date = sprintf( '%04d-%02d-%02d %02d:%02d:%02d', $year, $month, $day, $hour, $minute, '00' ); 642 $valid_date = wp_checkdate( $month, $day, $year, $expiration_date ); 643 644 if ( ! $valid_date ) { 641 $expiration_date = date_create( sprintf( '%04d-%02d-%02d %02d:%02d:%02d', $year, $month, $day, $hour, $minute, '00' ), Advanced_Ads_Utils::get_wp_timezone() ); 642 643 if ( ! $expiration_date ) { 645 644 $ad->expiry_date = 0; 646 645 } else { 647 $gm_date = date_create( $expiration_date, Advanced_Ads_Utils::get_wp_timezone() ); 648 $gm_date->setTimezone( new DateTimeZone( 'UTC' ) ); 649 $gm_date = $gm_date->format( 'Y-m-d-H-i' ); 650 list( $year, $month, $day, $hour, $minute ) = explode( '-', $gm_date ); 651 $ad->expiry_date = gmmktime( $hour, $minute, 0, $month, $day, $year ); 646 $expiration_date->setTimezone( new DateTimeZone( 'UTC' ) ); 647 $gm_date = $expiration_date->format( 'Y-m-d-H-i' ); 648 [ $year, $month, $day, $hour, $minute ] = explode( '-', $gm_date ); 649 $ad->expiry_date = gmmktime( $hour, $minute, 0, $month, $day, $year ); 652 650 } 653 651 } else { -
advanced-ads/trunk/admin/includes/class-licenses.php
r2991956 r3243197 713 713 foreach ( $add_ons as $_add_on_key => $_add_on ) { 714 714 // identify the add-on based on the name 715 if ( ! isset( $ add_on['name'] ) || $params->name !== $add_on['name'] ) {715 if ( ! isset( $_add_on['name'] ) || $params->name !== $_add_on['name'] ) { 716 716 continue; 717 717 } -
advanced-ads/trunk/admin/includes/class-settings.php
r2983598 r3243197 2 2 3 3 use AdvancedAds\Utilities\WordPress; 4 use AdvancedAds\Framework\Utilities\Arr; 4 5 5 6 /** … … 384 385 */ 385 386 public function render_settings_licenses_section_callback() { 387 $no_weekly_reminder = Arr::get( Advanced_Ads_Admin_Licenses::get_instance()->get_licenses(), 'no-weekly-reminder', 0 ); 388 386 389 include ADVADS_ABSPATH . 'admin/views/settings/license/section.php'; 387 390 } -
advanced-ads/trunk/admin/views/settings/license/section.php
r2986093 r3243197 1 <?php 2 /** 3 * License settings. 4 * 5 * @package AdvancedAds 6 * 7 * @var bool $no_weekly_reminder Disable weekly reminders about missing licenses. 8 */ 9 10 ?> 1 11 <p> 2 12 <a href="https://wpadvancedads.com/manual/how-to-install-an-add-on/?utm_source=advanced-ads&utm_medium=link&utm_campaign=settings-licenses-install-add-ons" target="_blank"> … … 19 29 ?> 20 30 </p> 31 <p> 32 <label for="advads-disable-weekly-reminders"> 33 <input type="checkbox" id="advads-disable-weekly-reminders" name="advanced-ads-licenses[no-weekly-reminder]" value="1" <?php checked( $no_weekly_reminder, 1 ); ?> /> 34 <?php esc_html_e( 'Disable weekly reminders about missing licenses.', 'advanced-ads' ); ?> 35 </label> 36 </p> 21 37 <input type="hidden" id="advads-licenses-ajax-referrer" value="<?php echo esc_attr( wp_create_nonce( 'advads_ajax_license_nonce' ) ); ?>"/> 38 -
advanced-ads/trunk/admin/views/support.php
r3187581 r3243197 73 73 <?php endif; ?> 74 74 </div> 75 <?php AdvancedAds\Modules\ProductExperimentationFramework\Module::get_instance()->render( 'support' ); ?> -
advanced-ads/trunk/advanced-ads.php
r3194748 r3243197 13 13 * Plugin URI: https://wpadvancedads.com 14 14 * Description: Manage and optimize your ads in WordPress 15 * Version: 1.56. 115 * Version: 1.56.2 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. 1' );36 define( 'ADVADS_VERSION', '1.56.2' ); 37 37 38 38 // Load the autoloader. -
advanced-ads/trunk/includes/admin/class-action-links.php
r2983598 r3243197 33 33 add_filter( 'admin_footer_text', [ $this, 'admin_footer_text' ], 100 ); 34 34 add_action( 'wp_ajax_advads_send_feedback', [ $this, 'send_feedback' ] ); 35 add_action( 'admin_notices', [ $this, 'show_rollback_notice' ] ); 35 36 } 36 37 … … 171 172 die(); 172 173 } 174 175 176 /** 177 * Show notice to roll back to a previous version. 178 * 179 * @return void 180 */ 181 public function show_rollback_notice(): void { 182 // show only on plugins page. 183 if ( 'plugins' !== get_current_screen()->id ) { 184 return; 185 } 186 187 $rollback = filter_input( INPUT_GET, 'rollback', FILTER_VALIDATE_BOOL ); 188 if ( ! $rollback ) { 189 return; 190 } 191 192 $rollback_notification = defined( 'ADVADS_VERSION' ) 193 ? sprintf( esc_html__( 'You have successfully rolled back to Advanced Ads %s', 'advanced-ads' ), ADVADS_VERSION ) 194 : esc_html__( 'You have successfully rolled back to a previous version of Advanced Ads.', 'advanced-ads' ); 195 196 ?> 197 <div class="notice notice-success is-dismissible"> 198 <p> 199 <?php esc_html_e( $rollback_notification ); ?> 200 </p> 201 </div> 202 <?php 203 } 173 204 } -
advanced-ads/trunk/includes/admin/class-page-quick-edit.php
r3134243 r3243197 26 26 * @return void 27 27 */ 28 public function hooks() {28 public function hooks(): void { 29 29 add_action( 'quick_edit_custom_box', [ $this, 'add_quick_edit_fields' ], 10, 2 ); 30 30 add_action( 'bulk_edit_custom_box', [ $this, 'add_bulk_edit_fields' ], 10, 2 ); -
advanced-ads/trunk/includes/class-entities.php
r2983598 r3243197 35 35 /** 36 36 * Hook into WordPress. 37 * 38 * @return void 37 39 */ 38 public function hooks() {40 public function hooks(): void { 39 41 $this->register_ad_post_type(); 40 42 $this->register_group_taxonomy(); -
advanced-ads/trunk/includes/class-plugin.php
r3145275 r3243197 172 172 // Common. 173 173 $this->register_initializer( Install::class ); 174 $this->register_initializer( Crons\License_Reminder::class ); 175 174 176 $this->register_integration( Entities::class ); 175 177 $this->register_integration( Assets_Registry::class, 'registry' ); -
advanced-ads/trunk/languages/advanced-ads.pot
r3194748 r3243197 1 # Copyright (C) 202 4Advanced Ads1 # Copyright (C) 2025 Advanced Ads 2 2 # This file is distributed under the GPL-2.0+. 3 3 msgid "" 4 4 msgstr "" 5 "Project-Id-Version: Advanced Ads 1.56. 0\n"5 "Project-Id-Version: Advanced Ads 1.56.1\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: 202 4-11-22T08:20:46+00:00\n"12 "POT-Creation-Date: 2025-02-19T11:41:36+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" … … 250 250 251 251 #. Translators: %s is the time the ad was first saved. 252 #: admin/includes/class-ad-type.php:69 7252 #: admin/includes/class-ad-type.php:695 253 253 msgid "Ad created on %s" 254 254 msgstr "" 255 255 256 #: admin/includes/class-ad-type.php:882 257 #: admin/includes/class-ad-type.php:883 258 msgid "Ad updated." 259 msgstr "" 260 261 #. translators: %s: date and time of the revision 256 262 #: admin/includes/class-ad-type.php:884 263 msgid "Ad restored to revision from %s" 264 msgstr "" 265 257 266 #: admin/includes/class-ad-type.php:885 258 msgid "Ad updated."259 msgstr ""260 261 #. translators: %s: date and time of the revision262 267 #: admin/includes/class-ad-type.php:886 263 msgid "Ad restored to revision from %s"268 msgid "Ad saved." 264 269 msgstr "" 265 270 266 271 #: admin/includes/class-ad-type.php:887 267 #: admin/includes/class-ad-type.php:888268 msgid "Ad saved."269 msgstr ""270 271 #: admin/includes/class-ad-type.php:889272 272 msgid "Ad submitted." 273 273 msgstr "" 274 274 275 275 #. translators: %1$s is a date. 276 #: admin/includes/class-ad-type.php:890 277 msgid "Ad scheduled for: <strong>%1$s</strong>." 278 msgstr "" 279 280 #. translators: Publish box date format, see http://php.net/date. 276 281 #: admin/includes/class-ad-type.php:892 277 msgid "Ad scheduled for: <strong>%1$s</strong>." 278 msgstr "" 279 280 #. translators: Publish box date format, see http://php.net/date. 282 msgid "M j, Y @ G:i" 283 msgstr "" 284 281 285 #: admin/includes/class-ad-type.php:894 282 msgid "M j, Y @ G:i"283 msgstr ""284 285 #: admin/includes/class-ad-type.php:896286 286 msgid "Ad draft updated." 287 287 msgstr "" 288 288 289 #: admin/includes/class-ad-type.php:95 2289 #: admin/includes/class-ad-type.php:950 290 290 msgid "You don’t have access to ads. Please deactivate and re-enable Advanced Ads again to fix this." 291 291 msgstr "" 292 292 293 #: admin/includes/class-ad-type.php:95 3293 #: admin/includes/class-ad-type.php:951 294 294 #: classes/frontend_checks.php:546 295 295 msgid "Get help" … … 297 297 298 298 #. translators: %s is a date. 299 #: admin/includes/class-ad-type.php:117 4299 #: admin/includes/class-ad-type.php:1172 300 300 #: admin/views/ad-list/timing.php:21 301 301 msgid "starts %s" … … 303 303 304 304 #. translators: %s is a date. 305 #: admin/includes/class-ad-type.php:119 5305 #: admin/includes/class-ad-type.php:1193 306 306 #: admin/views/ad-list/timing.php:59 307 307 msgid "expires %s" … … 309 309 310 310 #. translators: %s is a date. 311 #: admin/includes/class-ad-type.php:119 9311 #: admin/includes/class-ad-type.php:1197 312 312 msgid "expired %s" 313 313 msgstr "" 314 314 315 #: admin/includes/class-ad-type.php:120 5315 #: admin/includes/class-ad-type.php:1203 316 316 msgid "Published" 317 317 msgstr "" … … 461 461 462 462 #: admin/includes/class-meta-box.php:153 463 #: admin/includes/class-settings.php:7 3463 #: admin/includes/class-settings.php:74 464 464 msgid "Layout / Output" 465 465 msgstr "" … … 572 572 573 573 #: admin/includes/class-overview-widgets.php:75 574 #: includes/admin/class-action-links.php: 59574 #: includes/admin/class-action-links.php:60 575 575 msgid "Add-Ons" 576 576 msgstr "" … … 790 790 msgstr "" 791 791 792 #: admin/includes/class-settings.php:5 7792 #: admin/includes/class-settings.php:58 793 793 msgid "Admin" 794 794 msgstr "" 795 795 796 #: admin/includes/class-settings.php:6 5797 #: admin/includes/class-settings.php:14 6796 #: admin/includes/class-settings.php:66 797 #: admin/includes/class-settings.php:147 798 798 #: views/admin/page-bulk-edit.php:15 799 799 msgid "Disable ads" 800 800 msgstr "" 801 801 802 #: admin/includes/class-settings.php:8 1802 #: admin/includes/class-settings.php:82 803 803 msgid "Content injection" 804 804 msgstr "" 805 805 806 #: admin/includes/class-settings.php:15 4806 #: admin/includes/class-settings.php:155 807 807 msgid "Hide ads for user roles" 808 808 msgstr "" 809 809 810 #: admin/includes/class-settings.php:16 2810 #: admin/includes/class-settings.php:163 811 811 msgid "Content placement in post lists" 812 812 msgstr "" 813 813 814 #: admin/includes/class-settings.php:17 0814 #: admin/includes/class-settings.php:171 815 815 msgid "Priority of content injection filter" 816 816 msgstr "" 817 817 818 #: admin/includes/class-settings.php:17 8818 #: admin/includes/class-settings.php:179 819 819 #: classes/in-content-injector.php:617 820 820 msgid "Disable level limitation" 821 821 msgstr "" 822 822 823 #: admin/includes/class-settings.php:18 6823 #: admin/includes/class-settings.php:187 824 824 msgid "Hide ads from bots" 825 825 msgstr "" 826 826 827 #: admin/includes/class-settings.php:19 5827 #: admin/includes/class-settings.php:196 828 828 msgid "Disable ads for post types" 829 829 msgstr "" 830 830 831 #: admin/includes/class-settings.php:20 4831 #: admin/includes/class-settings.php:205 832 832 msgid "Disable Ad Health and other notices" 833 833 msgstr "" 834 834 835 #: admin/includes/class-settings.php:21 2835 #: admin/includes/class-settings.php:213 836 836 msgid "ID prefix" 837 837 msgstr "" 838 838 839 #: admin/includes/class-settings.php:22 0839 #: admin/includes/class-settings.php:221 840 840 msgid "Allow editors to manage ads" 841 841 msgstr "" 842 842 843 843 #. translators: unfiltered_html 844 #: admin/includes/class-settings.php:23 1844 #: admin/includes/class-settings.php:232 845 845 msgid "Add the %s capability to user roles on multisite" 846 846 msgstr "" 847 847 848 #: admin/includes/class-settings.php:24 1848 #: admin/includes/class-settings.php:242 849 849 msgid "Ad label" 850 850 msgstr "" 851 851 852 #: admin/includes/class-settings.php:25 0852 #: admin/includes/class-settings.php:251 853 853 msgid "Open links in a new window" 854 854 msgstr "" 855 855 856 #: admin/includes/class-settings.php:25 8856 #: admin/includes/class-settings.php:259 857 857 msgid "Use advanced JavaScript" 858 858 msgstr "" 859 859 860 #: admin/includes/class-settings.php:26 8860 #: admin/includes/class-settings.php:269 861 861 msgid "Delete data on uninstall" 862 862 msgstr "" 863 863 864 #: admin/includes/class-settings.php:31 1864 #: admin/includes/class-settings.php:312 865 865 #: includes/admin/class-admin-menu.php:103 866 866 #: includes/admin/class-admin-menu.php:107 … … 868 868 msgstr "" 869 869 870 #: admin/includes/class-settings.php:33 0870 #: admin/includes/class-settings.php:331 871 871 msgid "Pro" 872 872 msgstr "" 873 873 874 #: admin/includes/class-settings.php:34 8874 #: admin/includes/class-settings.php:349 875 875 #: admin/views/upgrades/tracking.php:2 876 876 msgid "Tracking" 877 877 msgstr "" 878 878 879 #: admin/includes/class-settings.php:39 4879 #: admin/includes/class-settings.php:397 880 880 msgid "Are you missing something?" 881 881 msgstr "" 882 882 883 #: admin/includes/class-settings.php:59 0883 #: admin/includes/class-settings.php:593 884 884 msgctxt "label before ads" 885 885 msgid "Advertisements" … … 898 898 #: includes/admin/pages/class-ads.php:35 899 899 #: includes/admin/pages/class-ads.php:36 900 #: includes/class-entities.php:5 5900 #: includes/class-entities.php:57 901 901 #: modules/gutenberg/includes/class-gutenberg.php:137 902 902 #: modules/import-export/views/page.php:23 … … 1800 1800 msgstr "" 1801 1801 1802 #: admin/views/settings/license/section.php: 31802 #: admin/views/settings/license/section.php:13 1803 1803 msgid "How to install and activate an add-on." 1804 1804 msgstr "" 1805 1805 1806 1806 #. translators: %s is a URL. 1807 #: admin/views/settings/license/section.php: 91807 #: admin/views/settings/license/section.php:19 1808 1808 msgid "See also <a href=\"%s\" target=\"_blank\">Issues and questions about licenses</a>." 1809 msgstr "" 1810 1811 #: admin/views/settings/license/section.php:34 1812 msgid "Disable weekly reminders about missing licenses." 1809 1813 msgstr "" 1810 1814 … … 2035 2039 #: classes/ad-debug.php:167 2036 2040 #: classes/ad-debug.php:169 2037 #: includes/class-entities.php:5 62041 #: includes/class-entities.php:58 2038 2042 #: modules/ad-positioning/views/ad-spacing.php:40 2039 2043 #: views/admin/screens/placements.php:366 … … 2043 2047 2044 2048 #: classes/ad-debug.php:121 2045 #: includes/class-entities.php:1 282049 #: includes/class-entities.php:130 2046 2050 msgctxt "ad group singular name" 2047 2051 msgid "Ad Group" … … 2740 2744 msgstr "" 2741 2745 2742 #: includes/admin/class-action-links.php:5 42746 #: includes/admin/class-action-links.php:55 2743 2747 #: includes/admin/class-admin-menu.php:88 2744 2748 #: includes/admin/class-admin-menu.php:91 … … 2747 2751 msgstr "" 2748 2752 2749 #: includes/admin/class-action-links.php:6 02753 #: includes/admin/class-action-links.php:61 2750 2754 msgid "See Pro Features" 2751 2755 msgstr "" 2752 2756 2753 2757 #. translators: %1$s is the URL to add a new review 2754 #: includes/admin/class-action-links.php:10 22758 #: includes/admin/class-action-links.php:103 2755 2759 msgid "Thank the developer with a ★★★★★ review on <a href=\"%1$s\" target=\"_blank\">wordpress.org</a>" 2760 msgstr "" 2761 2762 #: includes/admin/class-action-links.php:193 2763 msgid "You have successfully rolled back to Advanced Ads %s" 2764 msgstr "" 2765 2766 #: includes/admin/class-action-links.php:194 2767 msgid "You have successfully rolled back to a previous version of Advanced Ads." 2756 2768 msgstr "" 2757 2769 … … 2826 2838 2827 2839 #: includes/admin/class-groups-list-table.php:204 2828 #: includes/class-entities.php:1 382840 #: includes/class-entities.php:140 2829 2841 msgid "No Ad Group found" 2830 2842 msgstr "" … … 2847 2859 #: includes/admin/class-groups-list-table.php:345 2848 2860 #: includes/admin/class-groups-list-table.php:420 2849 #: includes/class-entities.php: 592861 #: includes/class-entities.php:61 2850 2862 #: modules/import-export/classes/import.php:168 2851 2863 #: modules/import-export/classes/import.php:211 … … 2893 2905 #: includes/admin/class-header.php:55 2894 2906 #: includes/admin/class-header.php:61 2895 #: includes/class-entities.php:5 72896 #: includes/class-entities.php:6 12907 #: includes/class-entities.php:59 2908 #: includes/class-entities.php:63 2897 2909 #: views/admin/tables/groups/list-row-option-ads.php:39 2898 2910 msgid "New Ad" … … 2908 2920 2909 2921 #: includes/admin/class-header.php:70 2910 #: includes/class-entities.php:13 52922 #: includes/class-entities.php:137 2911 2923 #: views/admin/screens/groups.php:38 2912 2924 msgid "New Ad Group" … … 3015 3027 msgstr "" 3016 3028 3017 #: includes/class-entities.php: 583029 #: includes/class-entities.php:60 3018 3030 msgid "Add New Ad" 3019 3031 msgstr "" 3020 3032 3021 #: includes/class-entities.php:6 03033 #: includes/class-entities.php:62 3022 3034 msgid "Edit Ad" 3023 3035 msgstr "" 3024 3036 3025 #: includes/class-entities.php:6 23037 #: includes/class-entities.php:64 3026 3038 msgid "View" 3027 3039 msgstr "" 3028 3040 3029 #: includes/class-entities.php:6 33041 #: includes/class-entities.php:65 3030 3042 msgid "View the Ad" 3031 3043 msgstr "" 3032 3044 3033 #: includes/class-entities.php:6 43045 #: includes/class-entities.php:66 3034 3046 msgid "Search Ads" 3035 3047 msgstr "" 3036 3048 3037 #: includes/class-entities.php:6 53049 #: includes/class-entities.php:67 3038 3050 msgid "No Ads found" 3039 3051 msgstr "" 3040 3052 3041 #: includes/class-entities.php:6 63053 #: includes/class-entities.php:68 3042 3054 msgid "No Ads found in Trash" 3043 3055 msgstr "" 3044 3056 3045 #: includes/class-entities.php:6 73057 #: includes/class-entities.php:69 3046 3058 msgid "Parent Ad" 3047 3059 msgstr "" 3048 3060 3049 #: includes/class-entities.php:12 73061 #: includes/class-entities.php:129 3050 3062 msgctxt "ad group general name" 3051 3063 msgid "Ad Groups & Rotations" 3052 3064 msgstr "" 3053 3065 3054 #: includes/class-entities.php:1 293066 #: includes/class-entities.php:131 3055 3067 msgid "Search Ad Groups" 3056 3068 msgstr "" 3057 3069 3058 #: includes/class-entities.php:13 03070 #: includes/class-entities.php:132 3059 3071 msgid "All Ad Groups" 3060 3072 msgstr "" 3061 3073 3062 #: includes/class-entities.php:13 13074 #: includes/class-entities.php:133 3063 3075 msgid "Parent Ad Groups" 3064 3076 msgstr "" 3065 3077 3066 #: includes/class-entities.php:13 23078 #: includes/class-entities.php:134 3067 3079 msgid "Parent Ad Groups:" 3068 3080 msgstr "" 3069 3081 3070 #: includes/class-entities.php:13 33082 #: includes/class-entities.php:135 3071 3083 msgid "Edit Ad Group" 3072 3084 msgstr "" 3073 3085 3074 #: includes/class-entities.php:13 43086 #: includes/class-entities.php:136 3075 3087 msgid "Update Ad Group" 3076 3088 msgstr "" 3077 3089 3078 #: includes/class-entities.php:13 63090 #: includes/class-entities.php:138 3079 3091 msgid "New Ad Groups Name" 3080 3092 msgstr "" 3081 3093 3082 #: includes/class-entities.php:13 73094 #: includes/class-entities.php:139 3083 3095 #: modules/import-export/views/page.php:24 3084 3096 msgid "Groups" 3085 3097 msgstr "" 3086 3098 3087 #: includes/class-entities.php:17 33099 #: includes/class-entities.php:175 3088 3100 msgid "Placements are customizable ad spots on your site. Use them to see and change all the assigned ads and groups on this page. Furthermore, you can set up exclusive features like Cache Busting, Lazy Loading, AdBlocker fallbacks, or Parallax effects." 3089 3101 msgstr "" 3090 3102 3091 #: includes/class-entities.php:18 23103 #: includes/class-entities.php:184 3092 3104 msgid "Ad Groups are a flexible method to bundle ads. Use them to create ad rotations, run split tests, and organize your ads in the backend. An ad can belong to multiple ad groups." 3105 msgstr "" 3106 3107 #: includes/crons/class-license-reminder.php:48 3108 msgid "Reminder: Activate your Advanced Ads licenses for updates" 3093 3109 msgstr "" 3094 3110 … … 4342 4358 msgstr "" 4343 4359 4360 #: templates/emails/license-reminder.php:10 4361 msgid "Hi there," 4362 msgstr "" 4363 4364 #. translators: %s: Website URL 4365 #: templates/emails/license-reminder.php:16 4366 msgid "This is a weekly reminder that one or more of your Advanced Ads add-ons on %s doesn’t have a license key enabled." 4367 msgstr "" 4368 4369 #. translators: %1$s: Opening anchor tag, %2$s: Closing anchor tag 4370 #: templates/emails/license-reminder.php:26 4371 msgid "%1$sPlease visit the license page%2$s to make sure that all add-ons have valid licenses and that the keys are activated." 4372 msgstr "" 4373 4374 #. translators: %1$s: Opening anchor tag, %2$s: Closing anchor tag 4375 #: templates/emails/license-reminder.php:37 4376 msgid "This email is sent in preparation for the upcoming Advanced Ads 2.0 update, to ensure compatibility and avoid potential issues caused by outdated plugin versions. %1$sRead more on the Advanced Ads website.%2$s" 4377 msgstr "" 4378 4379 #. translators: %1$s: Opening anchor tag, %2$s: Closing anchor tag 4380 #: templates/emails/license-reminder.php:48 4381 msgid "%1$sYou can disable this reminder here.%2$s" 4382 msgstr "" 4383 4384 #: templates/emails/license-reminder.php:55 4385 msgid "Kind regards" 4386 msgstr "" 4387 4388 #: templates/emails/license-reminder.php:55 4389 msgid "The Advanced Ads team" 4390 msgstr "" 4391 4344 4392 #: views/admin/feedback-disable.php:16 4345 4393 msgid "Why did you decide to disable Advanced Ads?" -
advanced-ads/trunk/lib/composer/autoload_classmap.php
r3145275 r3243197 56 56 'AdvancedAds\\BuildTools\\Values\\Translation' => $vendorDir . '/advanced-ads/build-tools/src/Values/Translation.php', 57 57 'AdvancedAds\\Constants' => $baseDir . '/includes/class-constants.php', 58 'AdvancedAds\\Crons\\License_Reminder' => $baseDir . '/includes/crons/class-license-reminder.php', 58 59 'AdvancedAds\\Entities' => $baseDir . '/includes/class-entities.php', 59 60 'AdvancedAds\\Groups\\Manager' => $baseDir . '/includes/groups/class-manager.php', -
advanced-ads/trunk/lib/composer/autoload_static.php
r3145275 r3243197 86 86 'AdvancedAds\\BuildTools\\Values\\Translation' => __DIR__ . '/..' . '/advanced-ads/build-tools/src/Values/Translation.php', 87 87 'AdvancedAds\\Constants' => __DIR__ . '/../..' . '/includes/class-constants.php', 88 'AdvancedAds\\Crons\\License_Reminder' => __DIR__ . '/../..' . '/includes/crons/class-license-reminder.php', 88 89 'AdvancedAds\\Entities' => __DIR__ . '/../..' . '/includes/class-entities.php', 89 90 'AdvancedAds\\Groups\\Manager' => __DIR__ . '/../..' . '/includes/groups/class-manager.php', -
advanced-ads/trunk/modules/one-click/class-page-parser.php
r3041809 r3243197 47 47 * Hook into WordPress. 48 48 */ 49 public function hooks() {49 public function hooks(): void { 50 50 add_action( 'template_redirect', [ $this, 'start_buffer' ], -9999 ); 51 51 add_action( 'wp_footer', [ $this, 'flush_page' ], 9999 ); -
advanced-ads/trunk/packages/composer/autoload_classmap.php
r3145275 r3243197 15 15 'AdvancedAds\\Admin\\Groups_List_Table' => $baseDir . '/includes/admin/class-groups-list-table.php', 16 16 'AdvancedAds\\Admin\\Header' => $baseDir . '/includes/admin/class-header.php', 17 'AdvancedAds\\Admin\\License_Reminder' => $baseDir . '/includes/admin/class-license-reminder.php', 17 18 'AdvancedAds\\Admin\\Page_Quick_Edit' => $baseDir . '/includes/admin/class-page-quick-edit.php', 18 19 'AdvancedAds\\Admin\\Pages\\Ads' => $baseDir . '/includes/admin/pages/class-ads.php', -
advanced-ads/trunk/packages/composer/autoload_static.php
r3145275 r3243197 44 44 'AdvancedAds\\Admin\\Groups_List_Table' => __DIR__ . '/../..' . '/includes/admin/class-groups-list-table.php', 45 45 'AdvancedAds\\Admin\\Header' => __DIR__ . '/../..' . '/includes/admin/class-header.php', 46 'AdvancedAds\\Admin\\License_Reminder' => __DIR__ . '/../..' . '/includes/admin/class-license-reminder.php', 46 47 'AdvancedAds\\Admin\\Page_Quick_Edit' => __DIR__ . '/../..' . '/includes/admin/class-page-quick-edit.php', 47 48 'AdvancedAds\\Admin\\Pages\\Ads' => __DIR__ . '/../..' . '/includes/admin/pages/class-ads.php', -
advanced-ads/trunk/readme.txt
r3194748 r3243197 5 5 Tested up to: 6.6 6 6 Requires PHP: 7.2 7 Stable tag: 1.56. 17 Stable tag: 1.56.2 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.2 (February 19, 2025) = 360 361 - Fix: resolve an issue occurring when setting an expiration date 362 - Fix: update the licence status of premium plugins correctly 363 359 364 = 1.56.1 (November 22, 2024) = 360 365 -
advanced-ads/trunk/views/admin/screens/dashboard.php
r3187581 r3243197 7 7 */ 8 8 9 use AdvancedAds\Modules\ProductExperimentationFramework\Module;10 11 9 ?> 12 10 <div class="wrap"> 13 11 <div id="advads-overview"> 14 <?php Module::get_instance()->render( 'overview' ); ?>15 12 <?php Advanced_Ads_Overview_Widgets_Callbacks::setup_overview_widgets(); ?> 16 13 </div> -
advanced-ads/trunk/views/admin/screens/settings.php
r2983598 r3243197 43 43 44 44 do_action( 'advanced-ads-settings-form', $_setting_tab_id, $_setting_tab ); 45 if ( isset( $_setting_tab['group'] ) && 'advanced-ads-licenses' !== $_setting_tab['group']) {45 if ( isset( $_setting_tab['group'] ) ) { 46 46 submit_button( __( 'Save settings on this page', 'advanced-ads' ) ); 47 47 }
Note: See TracChangeset
for help on using the changeset viewer.