Changeset 3002888
- Timestamp:
- 11/28/2023 06:18:36 PM (8 months ago)
- Location:
- easy-image-optimizer
- Files:
-
- 8 edited
- 1 copied
Legend:
- Unmodified
- Added
- Removed
-
easy-image-optimizer/tags/3.5.4/changelog.txt
r2988115 r3002888 1 2 3 4 1 5 = 3.5.3 = 2 6 * fixed: too much scaling for Visual Composer background images with zoom effect -
easy-image-optimizer/tags/3.5.4/classes/class-exactdn.php
r2988115 r3002888 1829 1829 $bg_autoscale = false; 1830 1830 } 1831 1831 1832 foreach ( $bg_image_urls as $bg_image_url ) { 1832 1833 $orig_bg_url = $bg_image_url; … … 1848 1849 continue; 1849 1850 } 1850 $skip_autoscale = false; 1851 $args = array(); 1852 $element_class = $this->get_attribute( $element, 'class' ); 1851 $args = array(); 1852 $element_class = $this->get_attribute( $element, 'class' ); 1853 1853 if ( false !== \strpos( $element_class, 'vce-asset-background-zoom-item' ) ) { 1854 1854 // Don't constrain Visual Composer 'zoom' images AND disable auto-scaling. … … 1998 1998 $content = \preg_replace( '#(https?:)?//(?:www\.)?' . $escaped_upload_domain . $this->remove_path . '/#i', '$1//' . $this->exactdn_domain . '/', $content ); 1999 1999 } else { 2000 $this->debug_message( 'searching for #(https?:)?//(?:www\.)?' . $escaped_upload_domain . '( /[^"\'?&>:/]+?)*?/(nextgen-image|' . $this->include_path . '|' . $this->content_path . ')/#i and replacing with $1//' . $this->exactdn_domain . '$2/$3/' );2001 $content = \preg_replace( '#(https?:)?//(?:www\.)?' . $escaped_upload_domain . '( /[^"\'?&>:/]+?)*?/(nextgen-image|' . $this->include_path . '|' . $this->content_path . ')/#i', '$1//' . $this->exactdn_domain . '$2/$3/', $content );2000 $this->debug_message( 'searching for #(https?:)?//(?:www\.)?' . $escaped_upload_domain . '(/(nextgen-image|' . $this->include_path . '|' . $this->content_path . ')/#i and replacing with $1//' . $this->exactdn_domain . '$2/$3/' ); 2001 $content = \preg_replace( '#(https?:)?//(?:www\.)?' . $escaped_upload_domain . '(/(nextgen-image|' . $this->include_path . '|' . $this->content_path . ')/#i', '$1//' . $this->exactdn_domain . '$2/$3/', $content ); 2002 2002 } 2003 2003 $content = \str_replace( '?wpcontent-bypass?', $this->content_path, $content ); -
easy-image-optimizer/tags/3.5.4/easy-image-optimizer.php
r2988115 r3002888 14 14 Description: Easily speed up your website to better connect with your visitors. Properly compress and size/scale images. Includes lazy load and WebP auto-convert. 15 15 Author: Exactly WWW 16 Version: 3.5. 316 Version: 3.5. 17 17 Requires at least: 6.1 18 18 Requires PHP: 7.4 … … 30 30 add_action( 'admin_notices', 'easyio_unsupported_php' ); 31 31 } elseif ( false === strpos( add_query_arg( '', '' ), 'easyio_disable=1' ) ) { 32 define( 'EASYIO_VERSION', 35 3);32 define( 'EASYIO_VERSION', 35 ); 33 33 34 34 /** -
easy-image-optimizer/tags/3.5.4/readme.txt
r2988115 r3002888 5 5 Tested up to: 6.4 6 6 Requires PHP: 7.4 7 Stable tag: 3.5. 37 Stable tag: 3.5. 8 8 License: GPLv3 9 9 … … 57 57 58 58 * If you would like to help translate this plugin in your language, get started here: https://translate.wordpress.org/projects/wp-plugins/easy-image-optimizer/ 59 60 61 62 59 63 60 64 = 3.5.3 = -
easy-image-optimizer/trunk/changelog.txt
r2988115 r3002888 1 2 3 4 1 5 = 3.5.3 = 2 6 * fixed: too much scaling for Visual Composer background images with zoom effect -
easy-image-optimizer/trunk/classes/class-exactdn.php
r2988115 r3002888 1829 1829 $bg_autoscale = false; 1830 1830 } 1831 1831 1832 foreach ( $bg_image_urls as $bg_image_url ) { 1832 1833 $orig_bg_url = $bg_image_url; … … 1848 1849 continue; 1849 1850 } 1850 $skip_autoscale = false; 1851 $args = array(); 1852 $element_class = $this->get_attribute( $element, 'class' ); 1851 $args = array(); 1852 $element_class = $this->get_attribute( $element, 'class' ); 1853 1853 if ( false !== \strpos( $element_class, 'vce-asset-background-zoom-item' ) ) { 1854 1854 // Don't constrain Visual Composer 'zoom' images AND disable auto-scaling. … … 1998 1998 $content = \preg_replace( '#(https?:)?//(?:www\.)?' . $escaped_upload_domain . $this->remove_path . '/#i', '$1//' . $this->exactdn_domain . '/', $content ); 1999 1999 } else { 2000 $this->debug_message( 'searching for #(https?:)?//(?:www\.)?' . $escaped_upload_domain . '( /[^"\'?&>:/]+?)*?/(nextgen-image|' . $this->include_path . '|' . $this->content_path . ')/#i and replacing with $1//' . $this->exactdn_domain . '$2/$3/' );2001 $content = \preg_replace( '#(https?:)?//(?:www\.)?' . $escaped_upload_domain . '( /[^"\'?&>:/]+?)*?/(nextgen-image|' . $this->include_path . '|' . $this->content_path . ')/#i', '$1//' . $this->exactdn_domain . '$2/$3/', $content );2000 $this->debug_message( 'searching for #(https?:)?//(?:www\.)?' . $escaped_upload_domain . '(/(nextgen-image|' . $this->include_path . '|' . $this->content_path . ')/#i and replacing with $1//' . $this->exactdn_domain . '$2/$3/' ); 2001 $content = \preg_replace( '#(https?:)?//(?:www\.)?' . $escaped_upload_domain . '(/(nextgen-image|' . $this->include_path . '|' . $this->content_path . ')/#i', '$1//' . $this->exactdn_domain . '$2/$3/', $content ); 2002 2002 } 2003 2003 $content = \str_replace( '?wpcontent-bypass?', $this->content_path, $content ); -
easy-image-optimizer/trunk/easy-image-optimizer.php
r2988115 r3002888 14 14 Description: Easily speed up your website to better connect with your visitors. Properly compress and size/scale images. Includes lazy load and WebP auto-convert. 15 15 Author: Exactly WWW 16 Version: 3.5. 316 Version: 3.5. 17 17 Requires at least: 6.1 18 18 Requires PHP: 7.4 … … 30 30 add_action( 'admin_notices', 'easyio_unsupported_php' ); 31 31 } elseif ( false === strpos( add_query_arg( '', '' ), 'easyio_disable=1' ) ) { 32 define( 'EASYIO_VERSION', 35 3);32 define( 'EASYIO_VERSION', 35 ); 33 33 34 34 /** -
easy-image-optimizer/trunk/readme.txt
r2988115 r3002888 5 5 Tested up to: 6.4 6 6 Requires PHP: 7.4 7 Stable tag: 3.5. 37 Stable tag: 3.5. 8 8 License: GPLv3 9 9 … … 57 57 58 58 * If you would like to help translate this plugin in your language, get started here: https://translate.wordpress.org/projects/wp-plugins/easy-image-optimizer/ 59 60 61 62 59 63 60 64 = 3.5.3 =
Note: See TracChangeset
for help on using the changeset viewer.