Changeset 2984544
- Timestamp:
- 10/26/2023 05:13:20 PM (2 years ago)
- Location:
- advanced-ads
- Files:
-
- 10 edited
- 1 copied
-
tags/1.47.2 (copied) (copied from advanced-ads/trunk)
-
tags/1.47.2/advanced-ads.php (modified) (2 diffs)
-
tags/1.47.2/includes/admin/class-groups-list-table.php (modified) (1 diff)
-
tags/1.47.2/includes/class-autoloader.php (modified) (1 diff)
-
tags/1.47.2/languages/advanced-ads.pot (modified) (10 diffs)
-
tags/1.47.2/readme.txt (modified) (2 diffs)
-
trunk/advanced-ads.php (modified) (2 diffs)
-
trunk/includes/admin/class-groups-list-table.php (modified) (1 diff)
-
trunk/includes/class-autoloader.php (modified) (1 diff)
-
trunk/languages/advanced-ads.pot (modified) (10 diffs)
-
trunk/readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
advanced-ads/tags/1.47.2/advanced-ads.php
r2984303 r2984544 13 13 * Plugin URI: https://wpadvancedads.com 14 14 * Description: Manage and optimize your ads in WordPress 15 * Version: 1.47. 115 * Version: 1.47.2 16 16 * Author: Advanced Ads GmbH 17 17 * Author URI: https://wpadvancedads.com … … 34 34 35 35 define( 'ADVADS_FILE', __FILE__ ); 36 define( 'ADVADS_VERSION', '1.47. 1' );36 define( 'ADVADS_VERSION', '1.47.2' ); 37 37 38 38 // Load the autoloader. -
advanced-ads/tags/1.47.2/includes/admin/class-groups-list-table.php
r2984303 r2984544 105 105 106 106 $this->_column_headers = [ $this->get_columns(), [], [], 'name' ]; 107 } 108 109 /** 110 * Gets the number of items to display on a single page. 111 * 112 * @param string $option User option name. 113 * @param int $default_value The number of items to display. 114 * 115 * @return int 116 */ 117 protected function get_items_per_page( $option, $default_value = 20 ): int { 118 return 0; 107 119 } 108 120 -
advanced-ads/tags/1.47.2/includes/class-autoloader.php
r2983598 r2984544 75 75 */ 76 76 private function locate() { 77 $directory = dirname( ADVADS_FILE ); 78 $packages = $directory . '/packages/autoload.php'; 79 $vendors = $directory . '/vendor/autoload.php'; 80 $is_debug = 'local' === wp_get_environment_type(); 77 $directory = dirname( ADVADS_FILE ); 78 $packages = $directory . '/packages/autoload.php'; 79 $vendors = $directory . '/vendor/autoload.php'; 80 $is_debug = 'local' === wp_get_environment_type(); 81 $is_packages = is_readable( $packages ); 82 $is_vendors = is_readable( $vendors ); 81 83 82 if ( ! $is_debug && is_readable( $packages ) ) {84 if ( $is_packages && ( ! $is_debug || ! $is_vendors ) ) { 83 85 return $packages; 84 86 } 85 87 86 if ( is_readable( $vendors )) {88 if ( $is_vendors ) { 87 89 return $vendors; 88 90 } -
advanced-ads/tags/1.47.2/languages/advanced-ads.pot
r2984303 r2984544 3 3 msgid "" 4 4 msgstr "" 5 "Project-Id-Version: Advanced Ads 1.47. 0\n"5 "Project-Id-Version: Advanced Ads 1.47.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: 2023-10-26T 09:40:13+00:00\n"12 "POT-Creation-Date: 2023-10-26T17:12:39+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" … … 174 174 175 175 #: admin/includes/class-ad-type.php:140 176 #: includes/admin/class-groups-list-table.php:1 16176 #: includes/admin/class-groups-list-table.php:128 177 177 #: modules/gadsense/admin/views/adsense-ad-parameters.php:105 178 178 #: views/admin/screens/placements.php:70 … … 442 442 443 443 #: admin/includes/class-meta-box.php:102 444 #: includes/admin/class-groups-list-table.php:4 19444 #: includes/admin/class-groups-list-table.php:431 445 445 #: views/admin/screens/placements.php:344 446 446 msgid "Usage" … … 902 902 #: classes/ad_placements.php:596 903 903 #: classes/widget.php:138 904 #: includes/admin/class-groups-list-table.php:1 19904 #: includes/admin/class-groups-list-table.php:131 905 905 #: includes/admin/pages/class-ads.php:35 906 906 #: includes/admin/pages/class-ads.php:36 … … 2810 2810 msgstr "" 2811 2811 2812 #: includes/admin/class-groups-list-table.php:1 172812 #: includes/admin/class-groups-list-table.php:129 2813 2813 msgctxt "term name" 2814 2814 msgid "Name" 2815 2815 msgstr "" 2816 2816 2817 #: includes/admin/class-groups-list-table.php:1 182817 #: includes/admin/class-groups-list-table.php:130 2818 2818 msgid "Details" 2819 2819 msgstr "" 2820 2820 2821 #: includes/admin/class-groups-list-table.php: 1912821 #: includes/admin/class-groups-list-table.php:203 2822 2822 #: includes/class-entities.php:138 2823 2823 msgid "No Ad Group found" … … 2825 2825 2826 2826 #. translators: %s is the group type string 2827 #: includes/admin/class-groups-list-table.php:2 082827 #: includes/admin/class-groups-list-table.php:220 2828 2828 msgid "The originally selected group type “%s” is not enabled." 2829 2829 msgstr "" 2830 2830 2831 2831 #. translators: %s is the name of a group type 2832 #: includes/admin/class-groups-list-table.php:2 762832 #: includes/admin/class-groups-list-table.php:288 2833 2833 msgid "Type: %s" 2834 2834 msgstr "" 2835 2835 2836 2836 #. translators: %s is the ID of an ad group 2837 #: includes/admin/class-groups-list-table.php:2 852837 #: includes/admin/class-groups-list-table.php:297 2838 2838 msgid "ID: %s" 2839 2839 msgstr "" 2840 2840 2841 #: includes/admin/class-groups-list-table.php:3 322842 #: includes/admin/class-groups-list-table.php: 3882841 #: includes/admin/class-groups-list-table.php:344 2842 #: includes/admin/class-groups-list-table.php:400 2843 2843 #: includes/class-entities.php:59 2844 2844 #: modules/import-export/classes/import.php:156 … … 2849 2849 msgstr "" 2850 2850 2851 #: includes/admin/class-groups-list-table.php:3 332851 #: includes/admin/class-groups-list-table.php:345 2852 2852 #: views/admin/screens/placements.php:150 2853 2853 msgid "show usage" 2854 2854 msgstr "" 2855 2855 2856 #: includes/admin/class-groups-list-table.php:3 432856 #: includes/admin/class-groups-list-table.php:355 2857 2857 #: views/admin/screens/placements.php:19 2858 2858 msgid "Delete" 2859 2859 msgstr "" 2860 2860 2861 #: includes/admin/class-groups-list-table.php: 3892861 #: includes/admin/class-groups-list-table.php:401 2862 2862 msgid "Save" 2863 2863 msgstr "" 2864 2864 2865 #: includes/admin/class-groups-list-table.php:4 072865 #: includes/admin/class-groups-list-table.php:419 2866 2866 #: views/admin/screens/placements.php:330 2867 2867 msgid "shortcode" 2868 2868 msgstr "" 2869 2869 2870 #: includes/admin/class-groups-list-table.php:4 092870 #: includes/admin/class-groups-list-table.php:421 2871 2871 #: views/admin/screens/placements.php:334 2872 2872 msgid "template (PHP)" … … 2874 2874 2875 2875 #. translators: amount of ads displayed 2876 #: includes/admin/class-groups-list-table.php: 4972876 #: includes/admin/class-groups-list-table.php:509 2877 2877 msgid "Up to %d ad displayed." 2878 2878 msgid_plural "Up to %d ads displayed" … … 2989 2989 2990 2990 #. translators: 1: is a link to a support document. 2: closing link 2991 #: includes/class-autoloader.php:1 192991 #: includes/class-autoloader.php:121 2992 2992 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." 2993 2993 msgstr "" -
advanced-ads/tags/1.47.2/readme.txt
r2984303 r2984544 5 5 Tested up to: 6.2 6 6 Requires PHP: 7.2 7 Stable tag: 1.47. 17 Stable tag: 1.47.2 8 8 License: GPLv2 or later 9 9 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 335 335 == Changelog == 336 336 337 = 1.47.2 (October 26, 2023) = 338 339 - Fix: prevent fatal error in some cases on local sites 340 - Fix: show missing groups on group list page 341 337 342 = 1.47.1 (October 26, 2023) = 338 343 -
advanced-ads/trunk/advanced-ads.php
r2984303 r2984544 13 13 * Plugin URI: https://wpadvancedads.com 14 14 * Description: Manage and optimize your ads in WordPress 15 * Version: 1.47. 115 * Version: 1.47.2 16 16 * Author: Advanced Ads GmbH 17 17 * Author URI: https://wpadvancedads.com … … 34 34 35 35 define( 'ADVADS_FILE', __FILE__ ); 36 define( 'ADVADS_VERSION', '1.47. 1' );36 define( 'ADVADS_VERSION', '1.47.2' ); 37 37 38 38 // Load the autoloader. -
advanced-ads/trunk/includes/admin/class-groups-list-table.php
r2984303 r2984544 105 105 106 106 $this->_column_headers = [ $this->get_columns(), [], [], 'name' ]; 107 } 108 109 /** 110 * Gets the number of items to display on a single page. 111 * 112 * @param string $option User option name. 113 * @param int $default_value The number of items to display. 114 * 115 * @return int 116 */ 117 protected function get_items_per_page( $option, $default_value = 20 ): int { 118 return 0; 107 119 } 108 120 -
advanced-ads/trunk/includes/class-autoloader.php
r2983598 r2984544 75 75 */ 76 76 private function locate() { 77 $directory = dirname( ADVADS_FILE ); 78 $packages = $directory . '/packages/autoload.php'; 79 $vendors = $directory . '/vendor/autoload.php'; 80 $is_debug = 'local' === wp_get_environment_type(); 77 $directory = dirname( ADVADS_FILE ); 78 $packages = $directory . '/packages/autoload.php'; 79 $vendors = $directory . '/vendor/autoload.php'; 80 $is_debug = 'local' === wp_get_environment_type(); 81 $is_packages = is_readable( $packages ); 82 $is_vendors = is_readable( $vendors ); 81 83 82 if ( ! $is_debug && is_readable( $packages ) ) {84 if ( $is_packages && ( ! $is_debug || ! $is_vendors ) ) { 83 85 return $packages; 84 86 } 85 87 86 if ( is_readable( $vendors )) {88 if ( $is_vendors ) { 87 89 return $vendors; 88 90 } -
advanced-ads/trunk/languages/advanced-ads.pot
r2984303 r2984544 3 3 msgid "" 4 4 msgstr "" 5 "Project-Id-Version: Advanced Ads 1.47. 0\n"5 "Project-Id-Version: Advanced Ads 1.47.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: 2023-10-26T 09:40:13+00:00\n"12 "POT-Creation-Date: 2023-10-26T17:12:39+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" … … 174 174 175 175 #: admin/includes/class-ad-type.php:140 176 #: includes/admin/class-groups-list-table.php:1 16176 #: includes/admin/class-groups-list-table.php:128 177 177 #: modules/gadsense/admin/views/adsense-ad-parameters.php:105 178 178 #: views/admin/screens/placements.php:70 … … 442 442 443 443 #: admin/includes/class-meta-box.php:102 444 #: includes/admin/class-groups-list-table.php:4 19444 #: includes/admin/class-groups-list-table.php:431 445 445 #: views/admin/screens/placements.php:344 446 446 msgid "Usage" … … 902 902 #: classes/ad_placements.php:596 903 903 #: classes/widget.php:138 904 #: includes/admin/class-groups-list-table.php:1 19904 #: includes/admin/class-groups-list-table.php:131 905 905 #: includes/admin/pages/class-ads.php:35 906 906 #: includes/admin/pages/class-ads.php:36 … … 2810 2810 msgstr "" 2811 2811 2812 #: includes/admin/class-groups-list-table.php:1 172812 #: includes/admin/class-groups-list-table.php:129 2813 2813 msgctxt "term name" 2814 2814 msgid "Name" 2815 2815 msgstr "" 2816 2816 2817 #: includes/admin/class-groups-list-table.php:1 182817 #: includes/admin/class-groups-list-table.php:130 2818 2818 msgid "Details" 2819 2819 msgstr "" 2820 2820 2821 #: includes/admin/class-groups-list-table.php: 1912821 #: includes/admin/class-groups-list-table.php:203 2822 2822 #: includes/class-entities.php:138 2823 2823 msgid "No Ad Group found" … … 2825 2825 2826 2826 #. translators: %s is the group type string 2827 #: includes/admin/class-groups-list-table.php:2 082827 #: includes/admin/class-groups-list-table.php:220 2828 2828 msgid "The originally selected group type “%s” is not enabled." 2829 2829 msgstr "" 2830 2830 2831 2831 #. translators: %s is the name of a group type 2832 #: includes/admin/class-groups-list-table.php:2 762832 #: includes/admin/class-groups-list-table.php:288 2833 2833 msgid "Type: %s" 2834 2834 msgstr "" 2835 2835 2836 2836 #. translators: %s is the ID of an ad group 2837 #: includes/admin/class-groups-list-table.php:2 852837 #: includes/admin/class-groups-list-table.php:297 2838 2838 msgid "ID: %s" 2839 2839 msgstr "" 2840 2840 2841 #: includes/admin/class-groups-list-table.php:3 322842 #: includes/admin/class-groups-list-table.php: 3882841 #: includes/admin/class-groups-list-table.php:344 2842 #: includes/admin/class-groups-list-table.php:400 2843 2843 #: includes/class-entities.php:59 2844 2844 #: modules/import-export/classes/import.php:156 … … 2849 2849 msgstr "" 2850 2850 2851 #: includes/admin/class-groups-list-table.php:3 332851 #: includes/admin/class-groups-list-table.php:345 2852 2852 #: views/admin/screens/placements.php:150 2853 2853 msgid "show usage" 2854 2854 msgstr "" 2855 2855 2856 #: includes/admin/class-groups-list-table.php:3 432856 #: includes/admin/class-groups-list-table.php:355 2857 2857 #: views/admin/screens/placements.php:19 2858 2858 msgid "Delete" 2859 2859 msgstr "" 2860 2860 2861 #: includes/admin/class-groups-list-table.php: 3892861 #: includes/admin/class-groups-list-table.php:401 2862 2862 msgid "Save" 2863 2863 msgstr "" 2864 2864 2865 #: includes/admin/class-groups-list-table.php:4 072865 #: includes/admin/class-groups-list-table.php:419 2866 2866 #: views/admin/screens/placements.php:330 2867 2867 msgid "shortcode" 2868 2868 msgstr "" 2869 2869 2870 #: includes/admin/class-groups-list-table.php:4 092870 #: includes/admin/class-groups-list-table.php:421 2871 2871 #: views/admin/screens/placements.php:334 2872 2872 msgid "template (PHP)" … … 2874 2874 2875 2875 #. translators: amount of ads displayed 2876 #: includes/admin/class-groups-list-table.php: 4972876 #: includes/admin/class-groups-list-table.php:509 2877 2877 msgid "Up to %d ad displayed." 2878 2878 msgid_plural "Up to %d ads displayed" … … 2989 2989 2990 2990 #. translators: 1: is a link to a support document. 2: closing link 2991 #: includes/class-autoloader.php:1 192991 #: includes/class-autoloader.php:121 2992 2992 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." 2993 2993 msgstr "" -
advanced-ads/trunk/readme.txt
r2984303 r2984544 5 5 Tested up to: 6.2 6 6 Requires PHP: 7.2 7 Stable tag: 1.47. 17 Stable tag: 1.47.2 8 8 License: GPLv2 or later 9 9 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 335 335 == Changelog == 336 336 337 = 1.47.2 (October 26, 2023) = 338 339 - Fix: prevent fatal error in some cases on local sites 340 - Fix: show missing groups on group list page 341 337 342 = 1.47.1 (October 26, 2023) = 338 343
Note: See TracChangeset
for help on using the changeset viewer.