Changeset 3145166
- Timestamp:
- 09/02/2024 08:40:04 AM (17 months ago)
- Location:
- watermark-images-for-wp-and-woo-grandpluginswp/trunk
- Files:
-
- 4 added
- 15 edited
-
gpls-wmfw-watermark-image-for-wordpress.php (modified) (4 diffs)
-
includes/MasterStudyLMS.php (added)
-
includes/Settings.php (modified) (1 diff)
-
includes/Utils (added)
-
includes/Utils/WatermarkUtilsTrait.php (added)
-
includes/WooImageWatermarker.php (added)
-
includes/class-watermarks-templates.php (modified) (5 diffs)
-
languages/watermark-images-for-wp-and-woo-grandpluginswp.pot (modified) (12 diffs)
-
readme.txt (modified) (3 diffs)
-
templates/single-apply-watermarks-template.php (modified) (1 diff)
-
templates/watermark-specs-template-metabox.php (modified) (3 diffs)
-
vendor/autoload.php (modified) (1 diff)
-
vendor/composer/ClassLoader.php (modified) (24 diffs)
-
vendor/composer/autoload_classmap.php (modified) (3 diffs)
-
vendor/composer/autoload_files.php (modified) (1 diff)
-
vendor/composer/autoload_namespaces.php (modified) (1 diff)
-
vendor/composer/autoload_psr4.php (modified) (1 diff)
-
vendor/composer/autoload_real.php (modified) (2 diffs)
-
vendor/composer/autoload_static.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
watermark-images-for-wp-and-woo-grandpluginswp/trunk/gpls-wmfw-watermark-image-for-wordpress.php
r2966022 r3145166 4 4 5 5 /** 6 * Plugin Name: Grand Watermark Images [[GrandPlugins]] 7 * Description: Add Text and Image watermarks to your images in your WordPress website 8 * Author: GrandPlugins 9 * Author URI: https://profiles.wordpress.org/grandplugins/ 10 * Plugin URI: https://grandplugins.com/product/wp-images-watermark/ 11 * Domain Path: /languages 12 * Requires PHP: 7.0 13 * Text Domain: watermark-images-for-wp-and-woo-grandpluginswp 14 * Std Name: gpls-wmfw-watermark-image-for-wordpress 15 * Version: 1.1.6 6 * Plugin Name: Grand Watermark Images [[GrandPlugins]] 7 * Description: Add Text and Image watermarks to your images in your WordPress website 8 * Author: GrandPlugins 9 * Author URI: https://profiles.wordpress.org/grandplugins/ 10 * Plugin URI: https://grandplugins.com/product/wp-images-watermark/ 11 * Domain Path: /languages 12 * Requires at least: 5.6 13 * Requires PHP: 7.0 14 * Text Domain: watermark-images-for-wp-and-woo-grandpluginswp 15 * Std Name: gpls-wmfw-watermark-image-for-wordpress 16 * Version: 1.1.7 16 17 */ 17 18 … … 163 164 Watermark_Base::init( self::$plugin_info ); 164 165 Image_Watermark::init( self::$plugin_info ); 166 MasterStudyLMS::init( self::$core, self::$plugin_info ); 167 WooImageWatermark::init( self::$core, self::$plugin_info ); 165 168 } 166 169 … … 181 184 */ 182 185 public function load_languages() { 183 load_plugin_textdomain( self::$plugin_info['text_domain'], false, self::$plugin_info['path']. 'languages/' );186 load_plugin_textdomain( self::$plugin_info['text_domain'], false, trailingslashit( dirname( self::$plugin_info['basename'] ) ) . 'languages/' ); 184 187 } 185 188 … … 219 222 'localize_var' => str_replace( '-', '_', $plugin_data['SName'] ) . '_localize_data', 220 223 'type' => 'free', 224 'prefix' => 'gpls-wmfw', 221 225 'general_prefix' => 'gpls-plugins-general-prefix', 222 226 'classes_prefix' => 'gpls-wmfw', 227 'classes_general' => 'gpls-general', 223 228 'pro_link' => 'https://grandplugins.com/product/wp-images-watermark?utm_source=free_plugin&utm_medium=wp&utm_campaign=ref', 224 229 'review_link' => 'https://wordpress.org/support/plugin/watermark-images-for-wp-and-woo-grandpluginswp/reviews/#new-post', -
watermark-images-for-wp-and-woo-grandpluginswp/trunk/includes/Settings.php
r2914099 r3145166 72 72 * 73 73 * @param object $core Core Object. 74 * @param object$plugin_info Plugin Info Object.74 * @param array $plugin_info Plugin Info Object. 75 75 */ 76 76 public function __construct( $core, $plugin_info ) { -
watermark-images-for-wp-and-woo-grandpluginswp/trunk/includes/class-watermarks-templates.php
r2953808 r3145166 2 2 namespace GPLSCore\GPLS_PLUGIN_WMFW; 3 3 4 defined( 'ABSPATH' ) || exit; 5 4 6 use GPLSCore\GPLS_PLUGIN_WMFW\Image_Watermark; 5 7 use GPLSCore\GPLS_PLUGIN_WMFW\Apply_Watermarks_Queries; 8 use GPLSCore\GPLS_PLUGIN_WMFW\Utils\WatermarkUtilsTrait; 6 9 7 10 /** … … 9 12 */ 10 13 class Watermarks_Templates { 14 15 use WatermarkUtilsTrait; 11 16 12 17 /** … … 545 550 * @return void 546 551 */ 547 public static function watermark_specs( $watermark_data = array(), $is_placeholder = false ) {552 public static function watermark_specs( $watermark_data = array(), $is_placeholder = false, $context = 'create' ) { 548 553 $plugin_info = self::$plugin_info; 554 $core = self::$core; 549 555 $available_fonts = Image_Watermark::get_available_fonts( true ); 550 556 include self::$plugin_info['path'] . 'templates/watermark-specs-template-metabox.php'; … … 749 755 public static function get_watermark_templates( $include_watermarks = true ) { 750 756 $watermarks_templates = array(); 751 $templates _query = new \WP_Query(757 $templates = get_posts( 752 758 array( 753 759 'post_type' => self::$post_type_key, … … 755 761 ) 756 762 ); 757 if ( $templates_query->have_posts() ) { 758 while ( $templates_query->have_posts() ) { 759 $templates_query->the_post(); 760 $template_id = get_the_ID(); 761 $watermarks_templates[ $template_id ] = array( 762 'id' => $template_id, 763 'title' => get_the_title(), 764 ); 765 if ( $include_watermarks ) { 766 $watermarks_templates[ $template_id ]['watermarks'] = self::get_template_watermarks( $template_id ); 767 } 768 } 769 wp_reset_postdata(); 763 foreach ( $templates as $template ) { 764 $template_id = $template->ID; 765 $watermarks_templates[ $template_id ] = array( 766 'id' => $template_id, 767 'title' => get_the_title( $template_id ), 768 ); 769 770 if ( $include_watermarks ) { 771 $watermarks_templates[ $template_id ]['watermarks'] = self::get_template_watermarks( $template_id ); 772 } 770 773 } 771 774 return $watermarks_templates; 775 } 776 777 /** 778 * Watermarks Text meta select. 779 * @return void 780 */ 781 public static function watermarks_text_meta_select( $watermark_data = array() ) { 782 $dynamic_fields = self::get_dynamic_keys(); 783 ?> 784 <div class="<?php echo esc_attr( self::$plugin_info['classes_prefix'] . '-disabled' ); ?>"> 785 <select class="watermark-dynamic-data-field" data-watermarkid="<?php echo esc_attr( ! empty( $watermark_data ) ? $watermark_data['id'] : '' ); ?>" data-type="dynamic" class="edit edit-dynamic-data-field watermark-dynamic-data-field mt-1"> 786 <option selected value=""><?php esc_html_e( '--- Select data field ---', 'gpls-wmfw-watermark-image-for-wordpress' ); ?></option> 787 788 <?php foreach ( $dynamic_fields as $dynamic_group_key => $group_arr ) : ?> 789 <optgroup label="<?php echo esc_html( $group_arr['title'] ); ?>" > 790 <?php foreach ( $group_arr['keys'] as $group_arr_key ) : ?> 791 <option value="<?php echo esc_attr( '{{' . $group_arr['prefix'] . $group_arr_key . '}}' ); ?>"><?php echo esc_attr( $group_arr_key ); ?></option> 792 <?php endforeach; ?> 793 </optgroup> 794 <?php endforeach; ?> 795 </select> 796 </div> 797 <?php 772 798 } 773 799 -
watermark-images-for-wp-and-woo-grandpluginswp/trunk/languages/watermark-images-for-wp-and-woo-grandpluginswp.pot
r2914099 r3145166 1 # Copyright (C) 202 3GrandPlugins2 # This file is distributed under the same license as the Grand Watermark Images [ GrandPlugins] plugin.1 # Copyright (C) 2024 GrandPlugins 2 # This file is distributed under the same license as the Grand Watermark Images [[GrandPlugins]] plugin. 3 3 msgid "" 4 4 msgstr "" 5 "Project-Id-Version: Grand Watermark Images [ GrandPlugins] 1.1.3\n"5 "Project-Id-Version: Grand Watermark Images [[GrandPlugins]] 1.1.7\n" 6 6 "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/gpls-wmfw-watermark-images-for-wordpress-pro\n" 7 7 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" … … 10 10 "Content-Type: text/plain; charset=UTF-8\n" 11 11 "Content-Transfer-Encoding: 8bit\n" 12 "POT-Creation-Date: 202 3-05-18T07:09:02+00:00\n"12 "POT-Creation-Date: 2024-09-02T08:29:27+00:00\n" 13 13 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" 14 "X-Generator: WP-CLI 2. 6.0\n"14 "X-Generator: WP-CLI 2.10.0\n" 15 15 "X-Domain: watermark-images-for-wp-and-woo-grandpluginswp\n" 16 16 17 17 #. Plugin Name of the plugin 18 msgid "Grand Watermark Images [GrandPlugins]" 18 #: C:\laragon\www\WatermarkImages\wp-content\plugins\gpls-wmfw-watermark-images-for-wordpress-pro\gpls-wmfw-watermark-image-for-wordpress.php 19 msgid "Grand Watermark Images [[GrandPlugins]]" 19 20 msgstr "" 20 21 21 22 #. Plugin URI of the plugin 23 #: C:\laragon\www\WatermarkImages\wp-content\plugins\gpls-wmfw-watermark-images-for-wordpress-pro\gpls-wmfw-watermark-image-for-wordpress.php 22 24 msgid "https://grandplugins.com/product/wp-images-watermark/" 23 25 msgstr "" 24 26 25 27 #. Description of the plugin 28 #: C:\laragon\www\WatermarkImages\wp-content\plugins\gpls-wmfw-watermark-images-for-wordpress-pro\gpls-wmfw-watermark-image-for-wordpress.php 26 29 msgid "Add Text and Image watermarks to your images in your WordPress website" 27 30 msgstr "" 28 31 29 32 #. Author of the plugin 33 #: C:\laragon\www\WatermarkImages\wp-content\plugins\gpls-wmfw-watermark-images-for-wordpress-pro\gpls-wmfw-watermark-image-for-wordpress.php 30 34 msgid "GrandPlugins" 31 35 msgstr "" 32 36 33 37 #. Author URI of the plugin 38 #: C:\laragon\www\WatermarkImages\wp-content\plugins\gpls-wmfw-watermark-images-for-wordpress-pro\gpls-wmfw-watermark-image-for-wordpress.php 34 39 msgid "https://profiles.wordpress.org/grandplugins/" 35 40 msgstr "" … … 37 42 #: includes/class-apply-watermarks-templates.php:128 38 43 #: includes/class-single-apply-watermarks.php:102 39 #: includes/class-watermarks-templates.php:27 244 #: includes/class-watermarks-templates.php:277 40 45 #: includes/Settings.php:139 41 46 msgid "Select images" … … 43 48 44 49 #: includes/class-apply-watermarks-templates.php:129 45 #: includes/class-watermarks-templates.php:27 350 #: includes/class-watermarks-templates.php:278 46 51 msgid "Preview Image" 47 52 msgstr "" 48 53 49 54 #: includes/class-apply-watermarks-templates.php:130 50 #: includes/class-watermarks-templates.php:27 455 #: includes/class-watermarks-templates.php:279 51 56 #: templates/create-watermarks-template-metabox.php:22 52 57 msgid "Select Preview Image" … … 55 60 #: includes/class-apply-watermarks-templates.php:131 56 61 #: includes/class-single-apply-watermarks.php:104 57 #: includes/class-watermarks-templates.php:2 7562 #: includes/class-watermarks-templates.php:280 58 63 msgid "Select Watermark" 59 64 msgstr "" … … 61 66 #: includes/class-apply-watermarks-templates.php:132 62 67 #: includes/class-single-apply-watermarks.php:105 63 #: includes/class-watermarks-templates.php:2 7668 #: includes/class-watermarks-templates.php:281 64 69 msgid "Choose Watermark" 65 70 msgstr "" … … 67 72 #: includes/class-apply-watermarks-templates.php:133 68 73 #: includes/class-single-apply-watermarks.php:107 69 #: includes/class-watermarks-templates.php:2 7974 #: includes/class-watermarks-templates.php:284 70 75 msgid "Search Term" 71 76 msgstr "" … … 92 97 msgstr "" 93 98 94 #: includes/class-apply-watermarks-templates.php:21 199 #: includes/class-apply-watermarks-templates.php:216 95 100 #: includes/class-single-apply-watermarks.php:197 96 #: includes/class-watermarks-templates.php:39 1101 #: includes/class-watermarks-templates.php:396 97 102 msgid "The link has expired, please refresh the page!" 98 103 msgstr "" 99 104 100 #: includes/class-apply-watermarks-templates.php:2 48105 #: includes/class-apply-watermarks-templates.php:261 101 106 #: includes/class-single-apply-watermarks.php:235 102 107 msgid "Failed to create watermarked image file!" 103 108 msgstr "" 104 109 105 #: includes/class-apply-watermarks-templates.php:2 64110 #: includes/class-apply-watermarks-templates.php:277 106 111 #: includes/class-single-apply-watermarks.php:251 107 112 msgid "Failed to create watermarked attachment!" 108 113 msgstr "" 109 114 110 #: includes/class-gd-image.php:197111 msgid "GIF is not supported"112 msgstr ""113 114 #: includes/class-gd-image.php:206115 #: includes/class-gd-image.php:218116 #: includes/class-gd-image.php:230117 msgid "File is not valid %s"118 msgstr ""119 120 #: includes/class-gd-image.php:238121 msgid "File is not supported"122 msgstr ""123 124 115 #: includes/class-image-edit-page.php:68 125 116 msgid "Subsizes" 126 117 msgstr "" 127 118 128 #: includes/class-image-edit-page.php:19 6119 #: includes/class-image-edit-page.php:198 129 120 msgid "Restore selected size from the original image, proceed?" 130 121 msgstr "" 131 122 132 #: includes/class-image-edit-page.php:19 7123 #: includes/class-image-edit-page.php:199 133 124 msgid "Backup image will be deleted, proceed?" 134 125 msgstr "" 135 126 136 #: includes/class-image.php: 49127 #: includes/class-image.php:38 137 128 msgid "Image file does not exist %s" 138 129 msgstr "" 139 130 140 #: includes/class-image.php: 110131 #: includes/class-image.php:99 141 132 msgid "Image file sub-size: %s not found!" 142 133 msgstr "" 143 134 144 #: includes/class-image.php:1 17135 #: includes/class-image.php:106 145 136 msgid "image file %s not found!" 146 137 msgstr "" 147 138 148 139 #: includes/class-single-apply-watermarks.php:101 149 #: includes/class-watermarks-templates.php:27 1140 #: includes/class-watermarks-templates.php:276 150 141 msgid "Watermark" 151 142 msgstr "" … … 156 147 157 148 #: includes/class-single-apply-watermarks.php:106 158 #: includes/class-watermarks-templates.php:2 77149 #: includes/class-watermarks-templates.php:282 159 150 msgid "The selected watermark is bigger than the image" 160 151 msgstr "" 161 152 162 153 #: includes/class-single-apply-watermarks.php:108 163 #: includes/class-watermarks-templates.php:28 0154 #: includes/class-watermarks-templates.php:285 164 155 msgid "Search Terms" 165 156 msgstr "" … … 170 161 171 162 #: includes/class-single-apply-watermarks.php:110 172 #: includes/class-watermarks-templates.php:28 2163 #: includes/class-watermarks-templates.php:287 173 164 msgid "You are about to remove a watermark, confirm?" 174 165 msgstr "" … … 186 177 msgstr "" 187 178 188 #: includes/class-watermark-base.php:10 4179 #: includes/class-watermark-base.php:105 189 180 msgid "Preview Image is expired, Please click on Preview Watermarks button again!" 190 181 msgstr "" 191 182 192 #: includes/class-watermark-base.php:12 3183 #: includes/class-watermark-base.php:124 193 184 msgid "Unable to connect to the filesystem" 194 185 msgstr "" 195 186 196 #: includes/class-watermark-base.php:13 3187 #: includes/class-watermark-base.php:134 197 188 msgid "Unable to save the preview image" 198 189 msgstr "" 199 190 200 #: includes/class-watermark-base.php:16 5191 #: includes/class-watermark-base.php:166 201 192 msgid "Failed to create watermarked image!" 202 193 msgstr "" 203 194 204 #: includes/class-watermarks-templates.php:1 77195 #: includes/class-watermarks-templates.php:182 205 196 msgid "You have reached the maximum watermarks templates!" 206 197 msgstr "" 207 198 208 #: includes/class-watermarks-templates.php:1 78199 #: includes/class-watermarks-templates.php:183 209 200 #: templates/bulk-apply-watermarks-template.php:12 210 201 msgid "Upgrade to" 211 202 msgstr "" 212 203 213 #: includes/class-watermarks-templates.php:1 78204 #: includes/class-watermarks-templates.php:183 214 205 msgid "for unlimited watermarks templates" 215 206 msgstr "" 216 207 217 #: includes/class-watermarks-templates.php:2 78208 #: includes/class-watermarks-templates.php:283 218 209 msgid "Search Author" 219 210 msgstr "" 220 211 221 #: includes/class-watermarks-templates.php:28 1212 #: includes/class-watermarks-templates.php:286 222 213 msgid "Maximum " 223 214 msgstr "" 224 215 225 #: includes/class-watermarks-templates.php:30 1216 #: includes/class-watermarks-templates.php:306 226 217 msgid "Watermarks" 227 218 msgstr "" 228 219 229 #: includes/class-watermarks-templates.php:30 2220 #: includes/class-watermarks-templates.php:307 230 221 msgid "Watermarks Templates" 231 222 msgstr "" 232 223 233 #: includes/class-watermarks-templates.php:30 3224 #: includes/class-watermarks-templates.php:308 234 225 msgid "Watermarks Template" 235 226 msgstr "" 236 227 237 #: includes/class-watermarks-templates.php:3 05228 #: includes/class-watermarks-templates.php:310 238 229 msgid "Watermarks Templates to be applied on selected images" 239 230 msgstr "" 240 231 241 #: includes/class-watermarks-templates.php:4 57232 #: includes/class-watermarks-templates.php:465 242 233 #: templates/single-apply-watermarks-template.php:27 243 234 msgid "Current Watermarks" 244 235 msgstr "" 245 236 246 #: includes/class-watermarks-templates.php:4 65237 #: includes/class-watermarks-templates.php:473 247 238 msgid "Create Watermark Template" 248 239 msgstr "" 249 240 250 #: includes/class-watermarks-templates.php:4 73241 #: includes/class-watermarks-templates.php:489 251 242 msgid "Auto Apply Settings (Pro)" 252 243 msgstr "" … … 655 646 msgstr "" 656 647 657 #: templates/watermark-specs-template-metabox.php:9 1648 #: templates/watermark-specs-template-metabox.php:92 658 649 msgid "Relative to center ( Pro )" 659 650 msgstr "" 660 651 661 #: templates/watermark-specs-template-metabox.php:9 2652 #: templates/watermark-specs-template-metabox.php:93 662 653 msgid "Set offset and rotation relative to the watermark's center instead of the watermark's left-top corner" 663 654 msgstr "" 664 655 665 #: templates/watermark-specs-template-metabox.php:9 7656 #: templates/watermark-specs-template-metabox.php:98 666 657 msgid "Offset" 667 658 msgstr "" 668 659 669 #: templates/watermark-specs-template-metabox.php:9 8660 #: templates/watermark-specs-template-metabox.php:99 670 661 msgid "The offset is calculated from the side's left-top corner which is selected from the position above" 671 662 msgstr "" 672 663 673 #: templates/watermark-specs-template-metabox.php:10 2664 #: templates/watermark-specs-template-metabox.php:103 674 665 msgid "Pixels" 675 666 msgstr "" 676 667 677 #: templates/watermark-specs-template-metabox.php:10 6668 #: templates/watermark-specs-template-metabox.php:107 678 669 msgid "percentage ( Pro )" 679 670 msgstr "" 680 671 681 #: templates/watermark-specs-template-metabox.php:11 1672 #: templates/watermark-specs-template-metabox.php:112 682 673 msgid "Left" 683 674 msgstr "" 684 675 685 #: templates/watermark-specs-template-metabox.php:12 4676 #: templates/watermark-specs-template-metabox.php:125 686 677 msgid "Top" 687 678 msgstr "" 688 679 689 #: templates/watermark-specs-template-metabox.php:1 42680 #: templates/watermark-specs-template-metabox.php:162 690 681 msgid "Repeat" 691 682 msgstr "" 692 683 693 #: templates/watermark-specs-template-metabox.php:1 48684 #: templates/watermark-specs-template-metabox.php:168 694 685 msgid "Repeat Axis" 695 686 msgstr "" 696 687 697 #: templates/watermark-specs-template-metabox.php:1 62688 #: templates/watermark-specs-template-metabox.php:182 698 689 msgid "Repeat Axis Offset" 699 690 msgstr "" 700 691 701 #: templates/watermark-specs-template-metabox.php:1 66692 #: templates/watermark-specs-template-metabox.php:186 702 693 msgid "X Axis" 703 694 msgstr "" 704 695 705 #: templates/watermark-specs-template-metabox.php:1 73696 #: templates/watermark-specs-template-metabox.php:193 706 697 msgid "Y Axis" 707 698 msgstr "" 708 699 709 #: templates/watermark-specs-template-metabox.php: 184700 #: templates/watermark-specs-template-metabox.php:204 710 701 msgid "Rotation" 711 702 msgstr "" -
watermark-images-for-wp-and-woo-grandpluginswp/trunk/readme.txt
r2966022 r3145166 1 1 === Watermark Images, Stamp Images, WooCommerce Image Watermark, Product Watermark for WooCommerce === 2 2 Tags: watermark, image, stamp, watermark image, image watermark, picture, photo, protection, watermark image, image protection, woocommerce 3 Tested up to: 6. 33 Tested up to: 6.6 4 4 Requires at least: 5.6 5 5 Requires PHP: 7.0 6 Version: 1.1. 67 Stable Tag: 1.1. 66 Version: 1.1.7 7 Stable Tag: 1.1.7 8 8 Contributors: GrandPlugins 9 9 Author: GrandPlugins … … 53 53 * **Bulk images Select**<br/>Select images in bulk mode based on image's post parent. You can select posts directly or based on filters [ posts availability - posts date range - posts authors - posts terms - etc...] 54 54 55 * **Auto Resize watermarks for each different image in bulk and auto watermarking. 55 * **Auto Resize** watermarks for each different image in bulk and auto watermarking. 56 57 * Select watermarks Corner Offset. 58 59 * **Dynamic Watermarks** for WooCommerce and MasterStudy LMS. 60 61 == Check Our other plugins == 56 62 57 63 58 == Check Our other plugins == 64 [Woo Sales Notifications](https://grandplugins.com/product/woo-sales-notification/?utm_source=free&utm_medium=wp-watermark-img) 65 66 [Woo Bulk Price & Stock Manager](https://grandplugins.com/product/woo-bulk-price-change/?utm_source=free&utm_medium=wp-watermark-img) 67 68 [Woo Paddle Checkout](https://grandplugins.com/product/woo-paddle-checkout/?utm_source=free&utm_medium=wp-watermark-img) 69 70 [Woo Sold Individually Variation](https://grandplugins.com/product/woo-variation-sold-individually/?utm_source=free&utm_medium=wp-watermark-img) 71 72 [Woo Restrict Orders](https://grandplugins.com/product/woo-restrict-orders/?utm_source=free&utm_medium=wp-watermark-img) 73 74 [Woo Gift Cards](https://grandplugins.com/product/woo-gift-cards/?utm_source=free&utm_medium=wp-watermark-img) 75 76 [Woo instock notifier](https://grandplugins.com/product/woo-instock-notifier/?utm_source=free&utm_medium=wp-watermark-img) 77 78 [Woo Email Tracker](https://grandplugins.com/product/woo-email-tracker/?utm_source=free&utm_medium=wp-watermark-img) 79 80 [Woo Email recipients](https://grandplugins.com/product/woo-order-email-recipients/?utm_source=free&utm_medium=wp-watermark-img) 81 82 [Woo Lemonsqueezy Checkout](https://grandplugins.com/product/woo-lemonsqueezy-gateway/?utm_source=free&utm_medium=wp-watermark-img) 83 84 [Woo Conditional Gateways](https://grandplugins.com/product/woo-conditional-gateways/?utm_source=free&utm_medium=wp-watermark-img) 85 86 [WP Debug Controller](https://grandplugins.com/product/wp-db-controller/?utm_source=free&utm_medium=wp-watermark-img) 87 88 [WooCommerce Debug Viewer](https://grandplugins.com/product/wp-debug-viewer/?utm_source=free&utm_medium=wp-watermark-img) 89 90 [WooCommerce Order Splitter](https://grandplugins.com/product/woo-order-splitter/?utm_source=free&utm_medium=wp-watermark-img) 59 91 60 92 [WooCommerce Real Time Cart Tracker](https://grandplugins.com/product/woo-cart-tracker/?utm_source=free&utm_medium=wp-watermark-img) … … 94 126 [Image Type Converter](https://wordpress.org/plugins/image-type-converter/) 95 127 128 [WP Plugin Creator](https://wpplugincreator.com/) 129 96 130 == Frequently Asked Questions == 97 131 -
watermark-images-for-wp-and-woo-grandpluginswp/trunk/templates/single-apply-watermarks-template.php
r2914099 r3145166 30 30 <div class="accordion watermarks-list-accordion" id="<?php echo esc_attr( $plugin_info['classes_prefix'] . '-watermarks-list-accordion' ); ?>"> 31 31 </div> 32 <?php Watermarks_Templates::watermark_specs( array(), true ); ?>32 <?php Watermarks_Templates::watermark_specs( array(), true, 'single' ); ?> 33 33 </div> 34 34 </div> -
watermark-images-for-wp-and-woo-grandpluginswp/trunk/templates/watermark-specs-template-metabox.php
r2914099 r3145166 87 87 <div class="position-box col-4 d-flex justify-content-center align-items-center"><input type="radio" value="br" name="<?php echo esc_attr( ! empty( $watermark_data ) ? 'watermarks[' . $watermark_data['id'] . '][positionSpot]' : '' ); ?>" class="edit edit-position-spot <?php echo esc_attr( $plugin_info['classes_prefix'] . '-watermark-position-spot-br' ); ?>" data-type="position-spot"></div> 88 88 </div> 89 <!-- Center Offset --> 89 90 <div class=<?php echo esc_attr( Watermarks_Templates::$plugin_info['classes_prefix'] . '-disabled' ); ?> ms-1 form-check mt-2 mb-4 d-flex align-items-center"> 90 91 <input disabled value="yes" data-watermarkid="<?php echo esc_attr( ! empty( $watermark_data ) ? $watermark_data['id'] : '' ); ?>" <?php echo esc_attr( ! empty( $watermark_data ) && ! empty( $watermark_data['centerOffset'] ) && ( $watermark_data['centerOffset'] ) ? 'checked' : '' ); ?> type="checkbox" id="<?php echo esc_attr( $plugin_info['classes_prefix'] . '-watermark-position-repeat-status' ); ?>" name="<?php echo esc_attr( ! empty( $watermark_data ) ? 'watermarks[' . $watermark_data['id'] . '][centerOffset]' : '' ); ?>" class="edit edit-position-center-offset form-check-input watermark-position-center-offset mt-1" data-type="position-center-offset"> … … 133 134 <?php echo esc_attr( '%' ); ?> 134 135 </div> 136 </div> 137 </div> 138 </div> 139 <!-- Corner --> 140 <div class="position-offset-corner mt-3 <?php echo esc_attr( self::$plugin_info['classes_prefix'] . '-disabled' ); ?>"> 141 <div class="col mt-2"> 142 <label class="mb-2" for="<?php echo esc_attr( $plugin_info['name'] . '-position-offset-corner' ); ?>"> 143 <span><?php $core->new_keyword( 'New', false ); ?></span> <?php esc_html_e( 'Offset corner', 'gpls-wmfw-watermark-image-for-wordpress' ); ?> 144 <span><?php $core->pro_btn(); ?></span> 145 <button style="padding: 1px 9px;" type="button" class="btn btn-secondary rounded-circle mt-1" data-bs-toggle="tooltip" data-bs-placement="right" title="<?php esc_html_e( 'Select which corner of the selected position box above to set offset from', 'gpls-wmfw-watermark-image-for-wordpress' ); ?>" >?</button> 146 </label> 147 <div class="edit offset-corner-select-wrapper"> 148 <select data-watermarkid="<?php echo esc_attr( ! empty( $watermark_data ) ? $watermark_data['id'] : '' ); ?>" class="edit edit-position-offset-corner form-control" name="<?php echo esc_attr( ! empty( $watermark_data ) ? 'watermarks[' . $watermark_data['id'] . '][offsetCorner]' : '' ); ?>" id="<?php echo esc_attr( $plugin_info['name'] . '-offset-corner' ); ?>" data-type="position-offset-corner"> 149 <option value="">— <?php echo esc_attr( esc_html__( 'Select', 'gpls-wmfw-watermark-image-for-wordpress' ) ); ?> —</option> 150 <option <?php echo esc_attr( empty( $watermark_data ) || empty( $watermark_data['offsetCorner'] ) || ( ! empty( $watermark_data['offsetCorner'] ) && 'tl' === $watermark_data['offsetCorner'] ) ? 'selected' : '' ); ?> value="tl"><?php echo esc_html_e( 'Top Left', 'gpls-wmfw-watermark-image-for-wordpress' ); ?></option> 151 <option <?php echo esc_attr( ! empty( $watermark_data ) && ( 'tr' === $watermark_data['offsetCorner'] ) ? 'selected' : '' ); ?> value="tr"><?php esc_html_e( 'Top Right', 'gpls-wmfw-watermark-image-for-wordpress' ); ?></option> 152 <option <?php echo esc_attr( ! empty( $watermark_data ) && ( 'bl' === $watermark_data['offsetCorner'] ) ? 'selected' : '' ); ?> value="bl"><?php esc_html_e( 'Bottom Left', 'gpls-wmfw-watermark-image-for-wordpress' ); ?></option> 153 <option <?php echo esc_attr( ! empty( $watermark_data ) && ( 'br' === $watermark_data['offsetCorner'] ) ? 'selected' : '' ); ?> value="br"><?php esc_html_e( 'Bottom Right', 'gpls-wmfw-watermark-image-for-wordpress' ); ?></option> 154 </select> 135 155 </div> 136 156 </div> … … 185 205 <input type="number" min="0" step="1" name="<?php echo esc_attr( ! empty( $watermark_data ) ? 'watermarks[' . $watermark_data['id'] . '][degree]' : '' ); ?>" value="<?php echo esc_attr( ! empty( $watermark_data['degree'] ) ? $watermark_data['degree'] : '0' ); ?>" max="360" class="edit edit-degree" data-type="degree"> 186 206 </div> 207 208 <?php if ( 'create' === $context ) : ?> 209 <!-- Dynamic --> 210 <div class="form-group dynamic-row edit-row edit-text text-left mb-3"> 211 <div class="<?php echo esc_attr( Watermarks_Templates::$plugin_info['classes_prefix'] . '-disabled' ); ?>"> 212 <h6 class="me-1 form-check-label mt-1"> 213 <?php esc_html_e( 'Dynamic placeholders (pro)', 'gpls-wmfw-watermark-image-for-wordpress' ); ?> 214 <span><?php $core->new_keyword( 'New', false ); ?></span> 215 <span><?php $core->pro_btn(); ?></span> 216 <button style="padding: 1px 9px;" type="button" class="btn btn-secondary rounded-circle mt-1" data-bs-toggle="tooltip" data-bs-placement="right" title="<?php esc_html_e( 'These placeholders will take the value of the selected data field for each order / customer.', 'gpls-wmfw-watermark-image-for-wordpress' ); ?>" >?</button> 217 </h6> 218 <?php Watermarks_Templates::watermarks_text_meta_select( $watermark_data ); ?> 219 </div> 220 </div> 221 <?php endif; ?> 187 222 188 223 <!-- Text Bot Top | Left ExactWidth baseLineOffset --> -
watermark-images-for-wp-and-woo-grandpluginswp/trunk/vendor/autoload.php
r2914099 r3145166 3 3 // autoload.php @generated by Composer 4 4 5 if (PHP_VERSION_ID < 50600) { 6 if (!headers_sent()) { 7 header('HTTP/1.1 500 Internal Server Error'); 8 } 9 $err = 'Composer 2.3.0 dropped support for autoloading on PHP <5.6 and you are running '.PHP_VERSION.', please upgrade PHP or use Composer 2.2 LTS via "composer self-update --2.2". Aborting.'.PHP_EOL; 10 if (!ini_get('display_errors')) { 11 if (PHP_SAPI === 'cli' || PHP_SAPI === 'phpdbg') { 12 fwrite(STDERR, $err); 13 } elseif (!headers_sent()) { 14 echo $err; 15 } 16 } 17 trigger_error( 18 $err, 19 E_USER_ERROR 20 ); 21 } 22 5 23 require_once __DIR__ . '/composer/autoload_real.php'; 6 24 -
watermark-images-for-wp-and-woo-grandpluginswp/trunk/vendor/composer/ClassLoader.php
r2642047 r3145166 43 43 class ClassLoader 44 44 { 45 /** @var \Closure(string):void */ 46 private static $includeFile; 47 48 /** @var string|null */ 49 private $vendorDir; 50 45 51 // PSR-4 52 /** 53 * @var array<string, array<string, int>> 54 */ 46 55 private $prefixLengthsPsr4 = array(); 56 /** 57 * @var array<string, list<string>> 58 */ 47 59 private $prefixDirsPsr4 = array(); 60 /** 61 * @var list<string> 62 */ 48 63 private $fallbackDirsPsr4 = array(); 49 64 50 65 // PSR-0 66 /** 67 * List of PSR-0 prefixes 68 * 69 * Structured as array('F (first letter)' => array('Foo\Bar (full prefix)' => array('path', 'path2'))) 70 * 71 * @var array<string, array<string, list<string>>> 72 */ 51 73 private $prefixesPsr0 = array(); 74 /** 75 * @var list<string> 76 */ 52 77 private $fallbackDirsPsr0 = array(); 53 78 79 /** @var bool */ 54 80 private $useIncludePath = false; 81 82 /** 83 * @var array<string, string> 84 */ 55 85 private $classMap = array(); 86 87 /** @var bool */ 56 88 private $classMapAuthoritative = false; 89 90 /** 91 * @var array<string, bool> 92 */ 57 93 private $missingClasses = array(); 94 95 /** @var string|null */ 58 96 private $apcuPrefix; 59 97 98 /** 99 * @var array<string, self> 100 */ 101 private static $registeredLoaders = array(); 102 103 /** 104 * @param string|null $vendorDir 105 */ 106 public function __construct($vendorDir = null) 107 { 108 $this->vendorDir = $vendorDir; 109 self::initializeIncludeClosure(); 110 } 111 112 /** 113 * @return array<string, list<string>> 114 */ 60 115 public function getPrefixes() 61 116 { … … 67 122 } 68 123 124 /** 125 * @return array<string, list<string>> 126 */ 69 127 public function getPrefixesPsr4() 70 128 { … … 72 130 } 73 131 132 /** 133 * @return list<string> 134 */ 74 135 public function getFallbackDirs() 75 136 { … … 77 138 } 78 139 140 /** 141 * @return list<string> 142 */ 79 143 public function getFallbackDirsPsr4() 80 144 { … … 82 146 } 83 147 148 /** 149 * @return array<string, string> Array of classname => path 150 */ 84 151 public function getClassMap() 85 152 { … … 88 155 89 156 /** 90 * @param array $classMap Class to filename map 157 * @param array<string, string> $classMap Class to filename map 158 * 159 * @return void 91 160 */ 92 161 public function addClassMap(array $classMap) … … 103 172 * appending or prepending to the ones previously set for this prefix. 104 173 * 105 * @param string $prefix The prefix 106 * @param array|string $paths The PSR-0 root directories 107 * @param bool $prepend Whether to prepend the directories 174 * @param string $prefix The prefix 175 * @param list<string>|string $paths The PSR-0 root directories 176 * @param bool $prepend Whether to prepend the directories 177 * 178 * @return void 108 179 */ 109 180 public function add($prefix, $paths, $prepend = false) 110 181 { 182 $paths = (array) $paths; 111 183 if (!$prefix) { 112 184 if ($prepend) { 113 185 $this->fallbackDirsPsr0 = array_merge( 114 (array)$paths,186 $paths, 115 187 $this->fallbackDirsPsr0 116 188 ); … … 118 190 $this->fallbackDirsPsr0 = array_merge( 119 191 $this->fallbackDirsPsr0, 120 (array)$paths192 $paths 121 193 ); 122 194 } … … 127 199 $first = $prefix[0]; 128 200 if (!isset($this->prefixesPsr0[$first][$prefix])) { 129 $this->prefixesPsr0[$first][$prefix] = (array)$paths;201 $this->prefixesPsr0[$first][$prefix] = $paths; 130 202 131 203 return; … … 133 205 if ($prepend) { 134 206 $this->prefixesPsr0[$first][$prefix] = array_merge( 135 (array)$paths,207 $paths, 136 208 $this->prefixesPsr0[$first][$prefix] 137 209 ); … … 139 211 $this->prefixesPsr0[$first][$prefix] = array_merge( 140 212 $this->prefixesPsr0[$first][$prefix], 141 (array)$paths213 $paths 142 214 ); 143 215 } … … 148 220 * appending or prepending to the ones previously set for this namespace. 149 221 * 150 * @param string $prefix The prefix/namespace, with trailing '\\'151 * @param array|string $paths The PSR-4 base directories152 * @param bool $prepend Whether to prepend the directories222 * @param string $prefix The prefix/namespace, with trailing '\\' 223 * @param list<string>|string $paths The PSR-4 base directories 224 * @param bool $prepend Whether to prepend the directories 153 225 * 154 226 * @throws \InvalidArgumentException 227 * 228 * @return void 155 229 */ 156 230 public function addPsr4($prefix, $paths, $prepend = false) 157 231 { 232 $paths = (array) $paths; 158 233 if (!$prefix) { 159 234 // Register directories for the root namespace. 160 235 if ($prepend) { 161 236 $this->fallbackDirsPsr4 = array_merge( 162 (array)$paths,237 $paths, 163 238 $this->fallbackDirsPsr4 164 239 ); … … 166 241 $this->fallbackDirsPsr4 = array_merge( 167 242 $this->fallbackDirsPsr4, 168 (array)$paths243 $paths 169 244 ); 170 245 } … … 176 251 } 177 252 $this->prefixLengthsPsr4[$prefix[0]][$prefix] = $length; 178 $this->prefixDirsPsr4[$prefix] = (array)$paths;253 $this->prefixDirsPsr4[$prefix] = $paths; 179 254 } elseif ($prepend) { 180 255 // Prepend directories for an already registered namespace. 181 256 $this->prefixDirsPsr4[$prefix] = array_merge( 182 (array)$paths,257 $paths, 183 258 $this->prefixDirsPsr4[$prefix] 184 259 ); … … 187 262 $this->prefixDirsPsr4[$prefix] = array_merge( 188 263 $this->prefixDirsPsr4[$prefix], 189 (array)$paths264 $paths 190 265 ); 191 266 } … … 196 271 * replacing any others previously set for this prefix. 197 272 * 198 * @param string $prefix The prefix 199 * @param array|string $paths The PSR-0 base directories 273 * @param string $prefix The prefix 274 * @param list<string>|string $paths The PSR-0 base directories 275 * 276 * @return void 200 277 */ 201 278 public function set($prefix, $paths) … … 212 289 * replacing any others previously set for this namespace. 213 290 * 214 * @param string $prefix The prefix/namespace, with trailing '\\'215 * @param array|string $paths The PSR-4 base directories291 * @param string $prefix The prefix/namespace, with trailing '\\' 292 * @param list<string>|string $paths The PSR-4 base directories 216 293 * 217 294 * @throws \InvalidArgumentException 295 * 296 * @return void 218 297 */ 219 298 public function setPsr4($prefix, $paths) … … 235 314 * 236 315 * @param bool $useIncludePath 316 * 317 * @return void 237 318 */ 238 319 public function setUseIncludePath($useIncludePath) … … 257 338 * 258 339 * @param bool $classMapAuthoritative 340 * 341 * @return void 259 342 */ 260 343 public function setClassMapAuthoritative($classMapAuthoritative) … … 277 360 * 278 361 * @param string|null $apcuPrefix 362 * 363 * @return void 279 364 */ 280 365 public function setApcuPrefix($apcuPrefix) … … 297 382 * 298 383 * @param bool $prepend Whether to prepend the autoloader or not 384 * 385 * @return void 299 386 */ 300 387 public function register($prepend = false) 301 388 { 302 389 spl_autoload_register(array($this, 'loadClass'), true, $prepend); 390 391 if (null === $this->vendorDir) { 392 return; 393 } 394 395 if ($prepend) { 396 self::$registeredLoaders = array($this->vendorDir => $this) + self::$registeredLoaders; 397 } else { 398 unset(self::$registeredLoaders[$this->vendorDir]); 399 self::$registeredLoaders[$this->vendorDir] = $this; 400 } 303 401 } 304 402 305 403 /** 306 404 * Unregisters this instance as an autoloader. 405 * 406 * @return void 307 407 */ 308 408 public function unregister() 309 409 { 310 410 spl_autoload_unregister(array($this, 'loadClass')); 411 412 if (null !== $this->vendorDir) { 413 unset(self::$registeredLoaders[$this->vendorDir]); 414 } 311 415 } 312 416 … … 315 419 * 316 420 * @param string $class The name of the class 317 * @return bool|null True if loaded, null otherwise421 * @return true|null True if loaded, null otherwise 318 422 */ 319 423 public function loadClass($class) 320 424 { 321 425 if ($file = $this->findFile($class)) { 322 includeFile($file); 426 $includeFile = self::$includeFile; 427 $includeFile($file); 323 428 324 429 return true; 325 430 } 431 432 return null; 326 433 } 327 434 … … 368 475 } 369 476 477 /** 478 * Returns the currently registered loaders keyed by their corresponding vendor directories. 479 * 480 * @return array<string, self> 481 */ 482 public static function getRegisteredLoaders() 483 { 484 return self::$registeredLoaders; 485 } 486 487 /** 488 * @param string $class 489 * @param string $ext 490 * @return string|false 491 */ 370 492 private function findFileWithExtension($class, $ext) 371 493 { … … 433 555 return false; 434 556 } 557 558 /** 559 * @return void 560 */ 561 private static function initializeIncludeClosure() 562 { 563 if (self::$includeFile !== null) { 564 return; 565 } 566 567 /** 568 * Scope isolated include. 569 * 570 * Prevents access to $this/self from included files. 571 * 572 * @param string $file 573 * @return void 574 */ 575 self::$includeFile = \Closure::bind(static function($file) { 576 include $file; 577 }, null, null); 578 } 435 579 } 436 437 /**438 * Scope isolated include.439 *440 * Prevents access to $this/self from included files.441 */442 function includeFile($file)443 {444 include $file;445 } -
watermark-images-for-wp-and-woo-grandpluginswp/trunk/vendor/composer/autoload_classmap.php
r2914099 r3145166 3 3 // autoload_classmap.php @generated by Composer 4 4 5 $vendorDir = dirname( dirname(__FILE__));5 $vendorDir = dirname(__DIR__); 6 6 $baseDir = dirname($vendorDir); 7 7 … … 10 10 'GPLSCore\\GPLS_PLUGIN_WMFW\\Apply_Watermarks_Queries' => $baseDir . '/includes/class-apply-watermarks-queries.php', 11 11 'GPLSCore\\GPLS_PLUGIN_WMFW\\Apply_Watermarks_Templates' => $baseDir . '/includes/class-apply-watermarks-templates.php', 12 'GPLSCore\\GPLS_PLUGIN_WMFW\\Auto_Apply_Watermarks_Template' => $baseDir . '/includes/class-auto-apply-watermarks-template.php',13 12 'GPLSCore\\GPLS_PLUGIN_WMFW\\Core' => $baseDir . '/core/core.php', 14 13 'GPLSCore\\GPLS_PLUGIN_WMFW\\GD_Image' => $baseDir . '/includes/class-gd-image.php', … … 17 16 'GPLSCore\\GPLS_PLUGIN_WMFW\\Image_Edit_Page' => $baseDir . '/includes/class-image-edit-page.php', 18 17 'GPLSCore\\GPLS_PLUGIN_WMFW\\Image_Watermark' => $baseDir . '/includes/class-image-watermark.php', 19 'GPLSCore\\GPLS_PLUGIN_WMFW\\Images_Backup_List_Table' => $baseDir . '/includes/class-images-backups-list-table.php',20 18 'GPLSCore\\GPLS_PLUGIN_WMFW\\Imagick_Image' => $baseDir . '/includes/class-imagick-image.php', 21 'GPLSCore\\GPLS_PLUGIN_WMFW\\ Plugin' => $baseDir . '/includes/Plugin.php',19 'GPLSCore\\GPLS_PLUGIN_WMFW\\MasterStudyLMS' => $baseDir . '/includes/MasterStudyLMS.php', 22 20 'GPLSCore\\GPLS_PLUGIN_WMFW\\Settings' => $baseDir . '/includes/Settings.php', 23 21 'GPLSCore\\GPLS_PLUGIN_WMFW\\Single_Apply_Watermarks' => $baseDir . '/includes/class-single-apply-watermarks.php', 22 'GPLSCore\\GPLS_PLUGIN_WMFW\\Utils\\WatermarkUtilsTrait' => $baseDir . '/includes/Utils/WatermarkUtilsTrait.php', 24 23 'GPLSCore\\GPLS_PLUGIN_WMFW\\Watermark_Base' => $baseDir . '/includes/class-watermark-base.php', 25 24 'GPLSCore\\GPLS_PLUGIN_WMFW\\Watermarks_Templates' => $baseDir . '/includes/class-watermarks-templates.php', 25 'GPLSCore\\GPLS_PLUGIN_WMFW\\WooImageWatermark' => $baseDir . '/includes/WooImageWatermarker.php', 26 26 ); -
watermark-images-for-wp-and-woo-grandpluginswp/trunk/vendor/composer/autoload_files.php
r2914099 r3145166 3 3 // autoload_files.php @generated by Composer 4 4 5 $vendorDir = dirname( dirname(__FILE__));5 $vendorDir = dirname(__DIR__); 6 6 $baseDir = dirname($vendorDir); 7 7 -
watermark-images-for-wp-and-woo-grandpluginswp/trunk/vendor/composer/autoload_namespaces.php
r2642047 r3145166 3 3 // autoload_namespaces.php @generated by Composer 4 4 5 $vendorDir = dirname( dirname(__FILE__));5 $vendorDir = dirname(__DIR__); 6 6 $baseDir = dirname($vendorDir); 7 7 -
watermark-images-for-wp-and-woo-grandpluginswp/trunk/vendor/composer/autoload_psr4.php
r2642047 r3145166 3 3 // autoload_psr4.php @generated by Composer 4 4 5 $vendorDir = dirname( dirname(__FILE__));5 $vendorDir = dirname(__DIR__); 6 6 $baseDir = dirname($vendorDir); 7 7 8 8 return array( 9 'Tests\\' => array($baseDir . '/tests'),10 9 ); -
watermark-images-for-wp-and-woo-grandpluginswp/trunk/vendor/composer/autoload_real.php
r2914099 r3145166 24 24 25 25 spl_autoload_register(array('ComposerAutoloaderInitaaa8345b4a45712be7199ef00e56ea38', 'loadClassLoader'), true, true); 26 self::$loader = $loader = new \Composer\Autoload\ClassLoader( );26 self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(__DIR__)); 27 27 spl_autoload_unregister(array('ComposerAutoloaderInitaaa8345b4a45712be7199ef00e56ea38', 'loadClassLoader')); 28 28 29 $useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION') && (!function_exists('zend_loader_file_encoded') || !zend_loader_file_encoded()); 30 if ($useStaticLoader) { 31 require __DIR__ . '/autoload_static.php'; 32 33 call_user_func(\Composer\Autoload\ComposerStaticInitaaa8345b4a45712be7199ef00e56ea38::getInitializer($loader)); 34 } else { 35 $map = require __DIR__ . '/autoload_namespaces.php'; 36 foreach ($map as $namespace => $path) { 37 $loader->set($namespace, $path); 38 } 39 40 $map = require __DIR__ . '/autoload_psr4.php'; 41 foreach ($map as $namespace => $path) { 42 $loader->setPsr4($namespace, $path); 43 } 44 45 $classMap = require __DIR__ . '/autoload_classmap.php'; 46 if ($classMap) { 47 $loader->addClassMap($classMap); 48 } 49 } 29 require __DIR__ . '/autoload_static.php'; 30 call_user_func(\Composer\Autoload\ComposerStaticInitaaa8345b4a45712be7199ef00e56ea38::getInitializer($loader)); 50 31 51 32 $loader->register(true); 52 33 53 if ($useStaticLoader) { 54 $includeFiles = Composer\Autoload\ComposerStaticInitaaa8345b4a45712be7199ef00e56ea38::$files; 55 } else { 56 $includeFiles = require __DIR__ . '/autoload_files.php'; 57 } 58 foreach ($includeFiles as $fileIdentifier => $file) { 59 composerRequireaaa8345b4a45712be7199ef00e56ea38($fileIdentifier, $file); 34 $filesToLoad = \Composer\Autoload\ComposerStaticInitaaa8345b4a45712be7199ef00e56ea38::$files; 35 $requireFile = \Closure::bind(static function ($fileIdentifier, $file) { 36 if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) { 37 $GLOBALS['__composer_autoload_files'][$fileIdentifier] = true; 38 39 require $file; 40 } 41 }, null, null); 42 foreach ($filesToLoad as $fileIdentifier => $file) { 43 $requireFile($fileIdentifier, $file); 60 44 } 61 45 … … 63 47 } 64 48 } 65 66 function composerRequireaaa8345b4a45712be7199ef00e56ea38($fileIdentifier, $file)67 {68 if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) {69 require $file;70 71 $GLOBALS['__composer_autoload_files'][$fileIdentifier] = true;72 }73 } -
watermark-images-for-wp-and-woo-grandpluginswp/trunk/vendor/composer/autoload_static.php
r2914099 r3145166 11 11 ); 12 12 13 public static $prefixLengthsPsr4 = array (14 'T' =>15 array (16 'Tests\\' => 6,17 ),18 );19 20 public static $prefixDirsPsr4 = array (21 'Tests\\' =>22 array (23 0 => __DIR__ . '/../..' . '/tests',24 ),25 );26 27 13 public static $classMap = array ( 28 14 'Composer\\InstalledVersions' => __DIR__ . '/..' . '/composer/InstalledVersions.php', 29 15 'GPLSCore\\GPLS_PLUGIN_WMFW\\Apply_Watermarks_Queries' => __DIR__ . '/../..' . '/includes/class-apply-watermarks-queries.php', 30 16 'GPLSCore\\GPLS_PLUGIN_WMFW\\Apply_Watermarks_Templates' => __DIR__ . '/../..' . '/includes/class-apply-watermarks-templates.php', 31 'GPLSCore\\GPLS_PLUGIN_WMFW\\Auto_Apply_Watermarks_Template' => __DIR__ . '/../..' . '/includes/class-auto-apply-watermarks-template.php',32 17 'GPLSCore\\GPLS_PLUGIN_WMFW\\Core' => __DIR__ . '/../..' . '/core/core.php', 33 18 'GPLSCore\\GPLS_PLUGIN_WMFW\\GD_Image' => __DIR__ . '/../..' . '/includes/class-gd-image.php', … … 36 21 'GPLSCore\\GPLS_PLUGIN_WMFW\\Image_Edit_Page' => __DIR__ . '/../..' . '/includes/class-image-edit-page.php', 37 22 'GPLSCore\\GPLS_PLUGIN_WMFW\\Image_Watermark' => __DIR__ . '/../..' . '/includes/class-image-watermark.php', 38 'GPLSCore\\GPLS_PLUGIN_WMFW\\Images_Backup_List_Table' => __DIR__ . '/../..' . '/includes/class-images-backups-list-table.php',39 23 'GPLSCore\\GPLS_PLUGIN_WMFW\\Imagick_Image' => __DIR__ . '/../..' . '/includes/class-imagick-image.php', 40 'GPLSCore\\GPLS_PLUGIN_WMFW\\ Plugin' => __DIR__ . '/../..' . '/includes/Plugin.php',24 'GPLSCore\\GPLS_PLUGIN_WMFW\\MasterStudyLMS' => __DIR__ . '/../..' . '/includes/MasterStudyLMS.php', 41 25 'GPLSCore\\GPLS_PLUGIN_WMFW\\Settings' => __DIR__ . '/../..' . '/includes/Settings.php', 42 26 'GPLSCore\\GPLS_PLUGIN_WMFW\\Single_Apply_Watermarks' => __DIR__ . '/../..' . '/includes/class-single-apply-watermarks.php', 27 'GPLSCore\\GPLS_PLUGIN_WMFW\\Utils\\WatermarkUtilsTrait' => __DIR__ . '/../..' . '/includes/Utils/WatermarkUtilsTrait.php', 43 28 'GPLSCore\\GPLS_PLUGIN_WMFW\\Watermark_Base' => __DIR__ . '/../..' . '/includes/class-watermark-base.php', 44 29 'GPLSCore\\GPLS_PLUGIN_WMFW\\Watermarks_Templates' => __DIR__ . '/../..' . '/includes/class-watermarks-templates.php', 30 'GPLSCore\\GPLS_PLUGIN_WMFW\\WooImageWatermark' => __DIR__ . '/../..' . '/includes/WooImageWatermarker.php', 45 31 ); 46 32 … … 48 34 { 49 35 return \Closure::bind(function () use ($loader) { 50 $loader->prefixLengthsPsr4 = ComposerStaticInitaaa8345b4a45712be7199ef00e56ea38::$prefixLengthsPsr4;51 $loader->prefixDirsPsr4 = ComposerStaticInitaaa8345b4a45712be7199ef00e56ea38::$prefixDirsPsr4;52 36 $loader->classMap = ComposerStaticInitaaa8345b4a45712be7199ef00e56ea38::$classMap; 53 37
Note: See TracChangeset
for help on using the changeset viewer.