Changeset 3016602
- Timestamp:
- 01/02/2024 05:09:24 PM (2 years ago)
- Location:
- image-optimizer-pro
- Files:
-
- 18 edited
- 1 copied
-
assets/icon-128x128.png (modified) (previous)
-
assets/icon-256x256.png (modified) (previous)
-
assets/icon.svg (modified) (1 diff)
-
assets/screenshot-1.png (modified) (previous)
-
tags/1.0.1 (copied) (copied from image-optimizer-pro/trunk)
-
tags/1.0.1/includes/classes/Admin/Dashboard.php (modified) (5 diffs)
-
tags/1.0.1/includes/classes/Optimizer.php (modified) (3 diffs)
-
tags/1.0.1/includes/constants.php (modified) (1 diff)
-
tags/1.0.1/includes/utils.php (modified) (2 diffs)
-
tags/1.0.1/languages/image-optimizer-pro.pot (modified) (4 diffs)
-
tags/1.0.1/plugin.php (modified) (2 diffs)
-
tags/1.0.1/readme.txt (modified) (3 diffs)
-
trunk/includes/classes/Admin/Dashboard.php (modified) (5 diffs)
-
trunk/includes/classes/Optimizer.php (modified) (3 diffs)
-
trunk/includes/constants.php (modified) (1 diff)
-
trunk/includes/utils.php (modified) (2 diffs)
-
trunk/languages/image-optimizer-pro.pot (modified) (4 diffs)
-
trunk/plugin.php (modified) (2 diffs)
-
trunk/readme.txt (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
image-optimizer-pro/assets/icon.svg
r3015934 r3016602 2 2 <rect width="512" height="512" fill="#1F2641"/> 3 3 <g clip-path="url(#clip0_1111_106)"> 4 <path d="M 232.712 410.033H232.712C195.453 410.065 159.518 396.216 131.917 371.187C131.879 371.152 131.856 371.104 131.854 371.052C131.851 371.001 131.869 370.95 131.904 370.912C131.938 370.874 131.987 370.851 132.038 370.849C132.09 370.846 132.14 370.864 132.178 370.898L132.513 370.528L132.177 370.898C159.707 395.863 195.549 409.677 232.713 409.644C284.873 409.644 332.473 383.159 360.038 338.8L360.039 338.799C360.052 338.777 360.07 338.758 360.09 338.743C360.111 338.728 360.135 338.718 360.16 338.712C360.184 338.706 360.21 338.705 360.235 338.709C360.261 338.713 360.285 338.723 360.307 338.736C360.328 338.75 360.347 338.767 360.362 338.788C360.377 338.809 360.387 338.832 360.393 338.857C360.399 338.882 360.4 338.908 360.396 338.933C360.391 338.958 360.382 338.982 360.369 339.004L360.368 339.006C346.901 360.737 328.105 378.668 305.765 391.098C283.424 403.528 258.278 410.046 232.712 410.033Z" fill="#F5F5FF" stroke="#F5F5FF"/>5 <path d="M35 2.926 339.747L353.279 341.091L359.9 339.343L361.161 346.074L362.527 345.817L360.99 337.619L352.926 339.747Z" fill="#F5F5FF"/>6 <path d="M1 39.275 369.811L139.312 371.201L132.466 371.374L133.14 378.19L131.756 378.325L130.938 370.024L139.275 369.811Z" fill="#F5F5FF"/>4 <path d="M138.16 368.322C165.599 393.205 201.323 406.974 238.365 406.941V408.33C200.979 408.363 164.921 394.466 137.227 369.352C137.091 369.228 137.01 369.055 137.001 368.872C136.992 368.688 137.056 368.508 137.18 368.372C137.303 368.235 137.476 368.154 137.66 368.144C137.843 368.135 138.023 368.199 138.16 368.322ZM136.556 370.093C164.434 395.374 200.731 409.363 238.365 409.33C264.188 409.343 289.586 402.76 312.151 390.205C334.715 377.651 353.698 359.54 367.301 337.592C367.419 337.403 367.498 337.192 367.535 336.973C367.572 336.753 367.565 336.528 367.514 336.311C367.464 336.094 367.371 335.889 367.241 335.708C367.111 335.527 366.947 335.373 366.758 335.255C366.569 335.138 366.358 335.058 366.138 335.022C365.918 334.986 365.693 334.994 365.476 335.045C365.259 335.096 365.055 335.189 364.874 335.319C364.693 335.449 364.54 335.614 364.422 335.804C337.129 379.724 290.008 405.941 238.365 405.941H238.364C201.571 405.974 166.086 392.298 138.832 367.582L138.83 367.58C138.497 367.279 138.058 367.123 137.609 367.146C137.161 367.168 136.74 367.368 136.439 367.7C136.137 368.033 135.98 368.472 136.002 368.92C136.024 369.369 136.223 369.79 136.555 370.092L136.556 370.093Z" fill="#F5F5FF" stroke="#F5F5FF" stroke-width="2"/> 5 <path d="M353 335.524L353.737 337.749L367.528 334.854L370.154 346L373 345.574L369.798 332L353 335.524Z" fill="#F5F5FF"/> 6 <path d="M148.688 365L148.753 367.448L136.692 367.754L137.88 379.761L135.442 380L134 365.376L148.688 365Z" fill="#F5F5FF"/> 7 7 <path d="M169.069 242.629V317.43C169.069 317.677 169.02 317.922 168.926 318.15C168.831 318.379 168.693 318.586 168.518 318.761C168.343 318.936 168.136 319.075 167.907 319.169C167.679 319.264 167.434 319.313 167.187 319.313H40.2074C40.117 319.314 40.0267 319.307 39.9375 319.292C39.4896 319.227 39.08 319.004 38.7836 318.662C38.4873 318.32 38.3242 317.882 38.3242 317.43V242.629C38.3241 242.13 38.5222 241.651 38.8752 241.298C39.2281 240.945 39.7069 240.746 40.2061 240.746H167.186C167.433 240.746 167.678 240.795 167.906 240.889C168.134 240.984 168.342 241.122 168.517 241.297C168.692 241.472 168.831 241.679 168.925 241.908C169.02 242.136 169.069 242.381 169.069 242.628V242.629Z" fill="#E6E6E6"/> 8 8 <path d="M70.3321 285.221C79.4567 285.221 86.8536 277.824 86.8536 268.7C86.8536 259.575 79.4567 252.178 70.3321 252.178C61.2075 252.178 53.8105 259.575 53.8105 268.7C53.8105 277.824 61.2075 285.221 70.3321 285.221Z" fill="#6C63FF"/> -
image-optimizer-pro/tags/1.0.1/includes/classes/Admin/Dashboard.php
r3015934 r3016602 20 20 use const ImageOptimizerPro\Constants\LICENSE_INFO_TRANSIENT; 21 21 use const ImageOptimizerPro\Constants\LICENSE_KEY_OPTION; 22 use const ImageOptimizerPro\Constants\SETTING_OPTION; 22 23 23 24 /** … … 117 118 $license_key = get_license_key(); 118 119 $license_info = get_license_info(); 120 $settings = \ImageOptimizerPro\Utils\get_settings(); 119 121 120 122 if ( is_network_admin() ) { … … 141 143 </td> 142 144 </tr> 145 <tr> 146 <th scope="row"> 147 </th> 148 <td> 149 <fieldset> 150 <legend class="screen-reader-text"> 151 <span><?php esc_html_e( 'Use WebP over AVIF', 'image-optimizer-pro' ); ?></span> 152 </legend> 153 <label for="preferred_format"> 154 <input name="preferred_format" type="checkbox" id="preferred_format" value="webp" <?php checked( 'webp', $settings['preferred_format'] ); ?>> 155 <?php esc_html_e( 'Use WebP over AVIF', 'image-optimizer-pro' ); ?> 156 </label> 157 </fieldset> 158 <span class="description"> 159 <?php esc_html_e( 'Activate this option to prioritize the WebP format over AVIF for image optimization.', 'image-optimizer-pro' ); ?> 160 </span> 161 </td> 162 </tr> 143 163 </tbody> 144 164 </table> … … 244 264 } 245 265 266 $settings = []; 267 $settings['preferred_format'] = sanitize_text_field( wp_unslash( $_POST['preferred_format'] ?? '' ) ); 268 246 269 $license_key = sanitize_text_field( filter_input( INPUT_POST, 'license_key' ) ); 247 270 $current_license_key = mask_string( $license_key, 3 ); … … 256 279 257 280 if ( IMAGE_OPTIMIZER_PRO_IS_NETWORK ) { 281 update_site_option( SETTING_OPTION, $settings ); 258 282 update_site_option( LICENSE_KEY_OPTION, $encrypted_license_key ); 259 283 } else { 284 update_option( SETTING_OPTION, $settings, false ); 260 285 update_option( LICENSE_KEY_OPTION, $encrypted_license_key, false ); 261 286 } -
image-optimizer-pro/tags/1.0.1/includes/classes/Optimizer.php
r3015934 r3016602 51 51 52 52 /** 53 * Preferred image format. 54 * It is used to determine the preferred image format for the current request. 55 * 56 * @var null 57 */ 58 protected static $preferred_image_formats = null; 59 60 /** 53 61 * Singleton implementation 54 62 * … … 107 115 return true; 108 116 } 117 118 $settings = \ImageOptimizerPro\Utils\get_settings(); 119 // set preferred image format 120 self::$preferred_image_formats = $settings['preferred_format']; 109 121 110 122 // skip photonized urls when image optimizer active … … 1493 1505 } 1494 1506 1507 if ( ! empty( self::$preferred_image_formats ) && 'webp' === self::$preferred_image_formats ) { 1508 $image_optimizer_url = add_query_arg( array( 'format' => 'webp' ), $image_optimizer_url ); 1509 } 1510 1495 1511 return self::url_schema( $image_optimizer_url, $scheme ); 1496 1512 } -
image-optimizer-pro/tags/1.0.1/includes/constants.php
r3015934 r3016602 9 9 10 10 const MENU_SLUG = 'image-optimizer-pro'; 11 const SETTING_OPTION = 'image_optimizer_pro_settings'; 11 12 const LICENSE_KEY_OPTION = 'image_optimizer_pro_license_key'; 12 13 -
image-optimizer-pro/tags/1.0.1/includes/utils.php
r3015934 r3016602 12 12 use const ImageOptimizerPro\Constants\LICENSE_INFO_TRANSIENT; 13 13 use const ImageOptimizerPro\Constants\LICENSE_KEY_OPTION; 14 use const ImageOptimizerPro\Constants\SETTING_OPTION; 14 15 15 16 /** … … 298 299 return false; 299 300 } 301 302 /** 303 * Get settings with defaults 304 * 305 * @return array 306 * @since 1.0.1 307 */ 308 function get_settings() { 309 $defaults = [ 310 'preferred_format' => '', 311 ]; 312 313 if ( IMAGE_OPTIMIZER_PRO_IS_NETWORK ) { 314 $settings = get_site_option( SETTING_OPTION, [] ); 315 } else { 316 $settings = get_option( SETTING_OPTION, [] ); 317 } 318 319 $settings = wp_parse_args( $settings, $defaults ); 320 321 return $settings; 322 } -
image-optimizer-pro/tags/1.0.1/languages/image-optimizer-pro.pot
r3015934 r3016602 1 # Copyright (C) 202 3Powered Cache1 # Copyright (C) 2024 Powered Cache 2 2 # This file is distributed under the GPL v2 or later. 3 3 msgid "" 4 4 msgstr "" 5 "Project-Id-Version: Image Optimizer Pro 1.0 \n"5 "Project-Id-Version: Image Optimizer Pro 1.0.1\n" 6 6 "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/image-optimizer-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-12-31T10:56:35+00:00\n"12 "POT-Creation-Date: 2024-01-02T17:06:41+00:00\n" 13 13 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" 14 14 "X-Generator: WP-CLI 2.9.0\n" … … 16 16 17 17 #. Plugin Name of the plugin 18 #: includes/classes/Admin/Dashboard.php:10319 18 #: includes/classes/Admin/Dashboard.php:104 20 #: includes/classes/Admin/Dashboard.php:125 21 #: includes/classes/Admin/Dashboard.php:337 19 #: includes/classes/Admin/Dashboard.php:105 20 #: includes/classes/Admin/Dashboard.php:127 21 #: includes/classes/Admin/Dashboard.php:362 22 22 msgid "Image Optimizer Pro" 23 23 msgstr "" … … 39 39 msgstr "" 40 40 41 #: includes/classes/Admin/Dashboard.php:13 141 #: includes/classes/Admin/Dashboard.php:133 42 42 msgid "License Key" 43 43 msgstr "" 44 44 45 #: includes/classes/Admin/Dashboard.php:13 545 #: includes/classes/Admin/Dashboard.php:137 46 46 msgid "Deactivate License" 47 47 msgstr "" 48 48 49 #: includes/classes/Admin/Dashboard.php:13 749 #: includes/classes/Admin/Dashboard.php:139 50 50 msgid "Activate License" 51 51 msgstr "" 52 52 53 #: includes/classes/Admin/Dashboard.php:145 53 #: includes/classes/Admin/Dashboard.php:151 54 #: includes/classes/Admin/Dashboard.php:155 55 msgid "Use WebP over AVIF" 56 msgstr "" 57 58 #: includes/classes/Admin/Dashboard.php:159 59 msgid "Activate this option to prioritize the WebP format over AVIF for image optimization." 60 msgstr "" 61 62 #: includes/classes/Admin/Dashboard.php:165 54 63 msgid "Save Changes" 55 64 msgstr "" 56 65 57 #: includes/classes/Admin/Dashboard.php:1 7366 #: includes/classes/Admin/Dashboard.php:193 58 67 msgid "You cannot use Image Optimizer on localhost. Image Optimization service only works for the public accessible domains." 59 68 msgstr "" 60 69 61 #: includes/classes/Admin/Dashboard.php: 19370 #: includes/classes/Admin/Dashboard.php:213 62 71 msgid "You need to activate your license to use Image Optimizer Pro." 63 72 msgstr "" 64 73 65 #: includes/classes/Admin/Dashboard.php:2 2774 #: includes/classes/Admin/Dashboard.php:247 66 75 msgid "Image Optimizer is already actived on Powered Cache Premium. You can mange it under the settings: <code>Powered Cache > Media Optimization > Image Optimization</code>. You can safely deactivate the Image Optimizer PRO plugin." 67 76 msgstr "" 68 77 69 #: includes/classes/Admin/Dashboard.php:2 6378 #: includes/classes/Admin/Dashboard.php:288 70 79 msgid "Settings saved." 71 80 msgstr "" 72 81 73 #: includes/classes/Admin/Dashboard.php:3 3882 #: includes/classes/Admin/Dashboard.php:363 74 83 msgid "We collect information about visitors who use our image optimization service, similar to what is typically recorded in standard web server access logs. Specifically, when visitors access images, we record data such as IP addresses, user agents (which identify the browser or tool used to access the image), referrer URLs (indicating the source webpage from which the image was requested), and the Site URL (the address of the webpage where the image is displayed). This type of data collection is a standard practice for monitoring and enhancing web services." 75 84 msgstr "" 76 85 77 #: includes/utils.php:16 186 #: includes/utils.php:162 78 87 msgid "Your license is valid and activated." 79 88 msgstr "" 80 89 81 #: includes/utils.php:16 590 #: includes/utils.php:166 82 91 msgid "Lifetime License." 83 92 msgstr "" 84 93 85 94 #. translators: %1$s: the number of active sites. %2$s: max sites 86 #: includes/utils.php:17 895 #: includes/utils.php:179 87 96 msgid "You have %1$s / %2$s sites activated." 88 97 msgstr "" 89 98 90 #: includes/utils.php:19 299 #: includes/utils.php:193 91 100 msgid "License key does not exist" 92 101 msgstr "" 93 102 94 #: includes/utils.php:20 3103 #: includes/utils.php:204 95 104 msgid "Unregistered domain address" 96 105 msgstr "" 97 106 98 #: includes/utils.php:20 6107 #: includes/utils.php:207 99 108 msgid "Invalid license or url" 100 109 msgstr "" 101 110 102 #: includes/utils.php:2 09111 #: includes/utils.php:210 103 112 msgid "Can not add a new domain." 104 113 msgstr "" 105 114 106 #: includes/utils.php:21 3115 #: includes/utils.php:214 107 116 msgid "An error occurred, please try again." 108 117 msgstr "" 109 118 110 #: includes/utils.php:2 19119 #: includes/utils.php:220 111 120 msgid "Please enter a valid license key and activate it." 112 121 msgstr "" -
image-optimizer-pro/tags/1.0.1/plugin.php
r3015934 r3016602 4 4 * Plugin URI: https://poweredcache.com/image-optimizer-pro/ 5 5 * Description: On-the-fly image optimization for WordPress. It automatically converts and serves images in AVIF or webp format where the browser supports, ensuring faster load times and enhanced user experience. 6 * Version: 1.0 6 * Version: 1.0.1 7 7 * Requires at least: 5.7 8 8 * Requires PHP: 7.2.5 … … 24 24 25 25 // Useful global constants. 26 define( 'IMAGE_OPTIMIZER_PRO_VERSION', '1.0 ' );26 define( 'IMAGE_OPTIMIZER_PRO_VERSION', '1.0.1' ); 27 27 define( 'IMAGE_OPTIMIZER_PRO_PLUGIN_FILE', __FILE__ ); 28 28 define( 'IMAGE_OPTIMIZER_PRO_URL', plugin_dir_url( __FILE__ ) ); -
image-optimizer-pro/tags/1.0.1/readme.txt
r3015934 r3016602 1 === Image Optimizer P ro===1 === Image Optimizer PRO - Optimize Images, Convert AVIF & WebP === 2 2 Contributors: poweredcache, m_uysl 3 3 Tags: image optimizer, optimize images, webp, avif, image compression … … 17 17 18 18 **Key Features**: 19 ***On-the-fly Image Optimization**: No need to manually convert each image. Image Optimizer Pro does it for you!20 ***Serve in AVIF or WebP**: Utilize the latest image formats for faster loading and better performance.21 ***Global Network Distribution**: Images are distributed on our extensive global network, ensuring they are served swiftly to your visitors, no matter where they are.19 - **On-the-fly Image Optimization**: No need to manually convert each image. Image Optimizer Pro does it for you! 20 - **Serve in AVIF or WebP**: Utilize the latest image formats for faster loading and better performance. 21 - **Global Network Distribution**: Images are distributed on our extensive global network, ensuring they are served swiftly to your visitors, no matter where they are. 22 22 23 23 __Documentation__: [https://docs.poweredcache.com/image-optimization/](https://docs.poweredcache.com/image-optimization/) … … 78 78 == Changelog == 79 79 80 = 1.0.1 (2024-01-02)= 81 - Added option to prefer WebP format over AVIF. 82 80 83 = 1.0 (2023-12-31)= 81 84 - Initial release -
image-optimizer-pro/trunk/includes/classes/Admin/Dashboard.php
r3015934 r3016602 20 20 use const ImageOptimizerPro\Constants\LICENSE_INFO_TRANSIENT; 21 21 use const ImageOptimizerPro\Constants\LICENSE_KEY_OPTION; 22 use const ImageOptimizerPro\Constants\SETTING_OPTION; 22 23 23 24 /** … … 117 118 $license_key = get_license_key(); 118 119 $license_info = get_license_info(); 120 $settings = \ImageOptimizerPro\Utils\get_settings(); 119 121 120 122 if ( is_network_admin() ) { … … 141 143 </td> 142 144 </tr> 145 <tr> 146 <th scope="row"> 147 </th> 148 <td> 149 <fieldset> 150 <legend class="screen-reader-text"> 151 <span><?php esc_html_e( 'Use WebP over AVIF', 'image-optimizer-pro' ); ?></span> 152 </legend> 153 <label for="preferred_format"> 154 <input name="preferred_format" type="checkbox" id="preferred_format" value="webp" <?php checked( 'webp', $settings['preferred_format'] ); ?>> 155 <?php esc_html_e( 'Use WebP over AVIF', 'image-optimizer-pro' ); ?> 156 </label> 157 </fieldset> 158 <span class="description"> 159 <?php esc_html_e( 'Activate this option to prioritize the WebP format over AVIF for image optimization.', 'image-optimizer-pro' ); ?> 160 </span> 161 </td> 162 </tr> 143 163 </tbody> 144 164 </table> … … 244 264 } 245 265 266 $settings = []; 267 $settings['preferred_format'] = sanitize_text_field( wp_unslash( $_POST['preferred_format'] ?? '' ) ); 268 246 269 $license_key = sanitize_text_field( filter_input( INPUT_POST, 'license_key' ) ); 247 270 $current_license_key = mask_string( $license_key, 3 ); … … 256 279 257 280 if ( IMAGE_OPTIMIZER_PRO_IS_NETWORK ) { 281 update_site_option( SETTING_OPTION, $settings ); 258 282 update_site_option( LICENSE_KEY_OPTION, $encrypted_license_key ); 259 283 } else { 284 update_option( SETTING_OPTION, $settings, false ); 260 285 update_option( LICENSE_KEY_OPTION, $encrypted_license_key, false ); 261 286 } -
image-optimizer-pro/trunk/includes/classes/Optimizer.php
r3015934 r3016602 51 51 52 52 /** 53 * Preferred image format. 54 * It is used to determine the preferred image format for the current request. 55 * 56 * @var null 57 */ 58 protected static $preferred_image_formats = null; 59 60 /** 53 61 * Singleton implementation 54 62 * … … 107 115 return true; 108 116 } 117 118 $settings = \ImageOptimizerPro\Utils\get_settings(); 119 // set preferred image format 120 self::$preferred_image_formats = $settings['preferred_format']; 109 121 110 122 // skip photonized urls when image optimizer active … … 1493 1505 } 1494 1506 1507 if ( ! empty( self::$preferred_image_formats ) && 'webp' === self::$preferred_image_formats ) { 1508 $image_optimizer_url = add_query_arg( array( 'format' => 'webp' ), $image_optimizer_url ); 1509 } 1510 1495 1511 return self::url_schema( $image_optimizer_url, $scheme ); 1496 1512 } -
image-optimizer-pro/trunk/includes/constants.php
r3015934 r3016602 9 9 10 10 const MENU_SLUG = 'image-optimizer-pro'; 11 const SETTING_OPTION = 'image_optimizer_pro_settings'; 11 12 const LICENSE_KEY_OPTION = 'image_optimizer_pro_license_key'; 12 13 -
image-optimizer-pro/trunk/includes/utils.php
r3015934 r3016602 12 12 use const ImageOptimizerPro\Constants\LICENSE_INFO_TRANSIENT; 13 13 use const ImageOptimizerPro\Constants\LICENSE_KEY_OPTION; 14 use const ImageOptimizerPro\Constants\SETTING_OPTION; 14 15 15 16 /** … … 298 299 return false; 299 300 } 301 302 /** 303 * Get settings with defaults 304 * 305 * @return array 306 * @since 1.0.1 307 */ 308 function get_settings() { 309 $defaults = [ 310 'preferred_format' => '', 311 ]; 312 313 if ( IMAGE_OPTIMIZER_PRO_IS_NETWORK ) { 314 $settings = get_site_option( SETTING_OPTION, [] ); 315 } else { 316 $settings = get_option( SETTING_OPTION, [] ); 317 } 318 319 $settings = wp_parse_args( $settings, $defaults ); 320 321 return $settings; 322 } -
image-optimizer-pro/trunk/languages/image-optimizer-pro.pot
r3015934 r3016602 1 # Copyright (C) 202 3Powered Cache1 # Copyright (C) 2024 Powered Cache 2 2 # This file is distributed under the GPL v2 or later. 3 3 msgid "" 4 4 msgstr "" 5 "Project-Id-Version: Image Optimizer Pro 1.0 \n"5 "Project-Id-Version: Image Optimizer Pro 1.0.1\n" 6 6 "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/image-optimizer-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-12-31T10:56:35+00:00\n"12 "POT-Creation-Date: 2024-01-02T17:06:41+00:00\n" 13 13 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" 14 14 "X-Generator: WP-CLI 2.9.0\n" … … 16 16 17 17 #. Plugin Name of the plugin 18 #: includes/classes/Admin/Dashboard.php:10319 18 #: includes/classes/Admin/Dashboard.php:104 20 #: includes/classes/Admin/Dashboard.php:125 21 #: includes/classes/Admin/Dashboard.php:337 19 #: includes/classes/Admin/Dashboard.php:105 20 #: includes/classes/Admin/Dashboard.php:127 21 #: includes/classes/Admin/Dashboard.php:362 22 22 msgid "Image Optimizer Pro" 23 23 msgstr "" … … 39 39 msgstr "" 40 40 41 #: includes/classes/Admin/Dashboard.php:13 141 #: includes/classes/Admin/Dashboard.php:133 42 42 msgid "License Key" 43 43 msgstr "" 44 44 45 #: includes/classes/Admin/Dashboard.php:13 545 #: includes/classes/Admin/Dashboard.php:137 46 46 msgid "Deactivate License" 47 47 msgstr "" 48 48 49 #: includes/classes/Admin/Dashboard.php:13 749 #: includes/classes/Admin/Dashboard.php:139 50 50 msgid "Activate License" 51 51 msgstr "" 52 52 53 #: includes/classes/Admin/Dashboard.php:145 53 #: includes/classes/Admin/Dashboard.php:151 54 #: includes/classes/Admin/Dashboard.php:155 55 msgid "Use WebP over AVIF" 56 msgstr "" 57 58 #: includes/classes/Admin/Dashboard.php:159 59 msgid "Activate this option to prioritize the WebP format over AVIF for image optimization." 60 msgstr "" 61 62 #: includes/classes/Admin/Dashboard.php:165 54 63 msgid "Save Changes" 55 64 msgstr "" 56 65 57 #: includes/classes/Admin/Dashboard.php:1 7366 #: includes/classes/Admin/Dashboard.php:193 58 67 msgid "You cannot use Image Optimizer on localhost. Image Optimization service only works for the public accessible domains." 59 68 msgstr "" 60 69 61 #: includes/classes/Admin/Dashboard.php: 19370 #: includes/classes/Admin/Dashboard.php:213 62 71 msgid "You need to activate your license to use Image Optimizer Pro." 63 72 msgstr "" 64 73 65 #: includes/classes/Admin/Dashboard.php:2 2774 #: includes/classes/Admin/Dashboard.php:247 66 75 msgid "Image Optimizer is already actived on Powered Cache Premium. You can mange it under the settings: <code>Powered Cache > Media Optimization > Image Optimization</code>. You can safely deactivate the Image Optimizer PRO plugin." 67 76 msgstr "" 68 77 69 #: includes/classes/Admin/Dashboard.php:2 6378 #: includes/classes/Admin/Dashboard.php:288 70 79 msgid "Settings saved." 71 80 msgstr "" 72 81 73 #: includes/classes/Admin/Dashboard.php:3 3882 #: includes/classes/Admin/Dashboard.php:363 74 83 msgid "We collect information about visitors who use our image optimization service, similar to what is typically recorded in standard web server access logs. Specifically, when visitors access images, we record data such as IP addresses, user agents (which identify the browser or tool used to access the image), referrer URLs (indicating the source webpage from which the image was requested), and the Site URL (the address of the webpage where the image is displayed). This type of data collection is a standard practice for monitoring and enhancing web services." 75 84 msgstr "" 76 85 77 #: includes/utils.php:16 186 #: includes/utils.php:162 78 87 msgid "Your license is valid and activated." 79 88 msgstr "" 80 89 81 #: includes/utils.php:16 590 #: includes/utils.php:166 82 91 msgid "Lifetime License." 83 92 msgstr "" 84 93 85 94 #. translators: %1$s: the number of active sites. %2$s: max sites 86 #: includes/utils.php:17 895 #: includes/utils.php:179 87 96 msgid "You have %1$s / %2$s sites activated." 88 97 msgstr "" 89 98 90 #: includes/utils.php:19 299 #: includes/utils.php:193 91 100 msgid "License key does not exist" 92 101 msgstr "" 93 102 94 #: includes/utils.php:20 3103 #: includes/utils.php:204 95 104 msgid "Unregistered domain address" 96 105 msgstr "" 97 106 98 #: includes/utils.php:20 6107 #: includes/utils.php:207 99 108 msgid "Invalid license or url" 100 109 msgstr "" 101 110 102 #: includes/utils.php:2 09111 #: includes/utils.php:210 103 112 msgid "Can not add a new domain." 104 113 msgstr "" 105 114 106 #: includes/utils.php:21 3115 #: includes/utils.php:214 107 116 msgid "An error occurred, please try again." 108 117 msgstr "" 109 118 110 #: includes/utils.php:2 19119 #: includes/utils.php:220 111 120 msgid "Please enter a valid license key and activate it." 112 121 msgstr "" -
image-optimizer-pro/trunk/plugin.php
r3015934 r3016602 4 4 * Plugin URI: https://poweredcache.com/image-optimizer-pro/ 5 5 * Description: On-the-fly image optimization for WordPress. It automatically converts and serves images in AVIF or webp format where the browser supports, ensuring faster load times and enhanced user experience. 6 * Version: 1.0 6 * Version: 1.0.1 7 7 * Requires at least: 5.7 8 8 * Requires PHP: 7.2.5 … … 24 24 25 25 // Useful global constants. 26 define( 'IMAGE_OPTIMIZER_PRO_VERSION', '1.0 ' );26 define( 'IMAGE_OPTIMIZER_PRO_VERSION', '1.0.1' ); 27 27 define( 'IMAGE_OPTIMIZER_PRO_PLUGIN_FILE', __FILE__ ); 28 28 define( 'IMAGE_OPTIMIZER_PRO_URL', plugin_dir_url( __FILE__ ) ); -
image-optimizer-pro/trunk/readme.txt
r3015934 r3016602 1 === Image Optimizer P ro===1 === Image Optimizer PRO - Optimize Images, Convert AVIF & WebP === 2 2 Contributors: poweredcache, m_uysl 3 3 Tags: image optimizer, optimize images, webp, avif, image compression … … 17 17 18 18 **Key Features**: 19 ***On-the-fly Image Optimization**: No need to manually convert each image. Image Optimizer Pro does it for you!20 ***Serve in AVIF or WebP**: Utilize the latest image formats for faster loading and better performance.21 ***Global Network Distribution**: Images are distributed on our extensive global network, ensuring they are served swiftly to your visitors, no matter where they are.19 - **On-the-fly Image Optimization**: No need to manually convert each image. Image Optimizer Pro does it for you! 20 - **Serve in AVIF or WebP**: Utilize the latest image formats for faster loading and better performance. 21 - **Global Network Distribution**: Images are distributed on our extensive global network, ensuring they are served swiftly to your visitors, no matter where they are. 22 22 23 23 __Documentation__: [https://docs.poweredcache.com/image-optimization/](https://docs.poweredcache.com/image-optimization/) … … 78 78 == Changelog == 79 79 80 = 1.0.1 (2024-01-02)= 81 - Added option to prefer WebP format over AVIF. 82 80 83 = 1.0 (2023-12-31)= 81 84 - Initial release
Note: See TracChangeset
for help on using the changeset viewer.