Changeset 1972927
- Timestamp:
- 11/12/2018 11:21:00 AM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
better-image-loading/trunk/better-image-loading.php
r1877688 r1972927 10 10 * Plugin URI: http://wp.mooschmedia.com/plugins/better-image-loading/ 11 11 * Description: Load images better on page paint. No more jank! 12 * Version: 0.3. 612 * Version: 0.3.7 13 13 * Author: Moosch Media 14 14 * Author URI: http://wp.mooschmedia.com/ … … 36 36 */ 37 37 38 define( 'BIL_VERSION', '0.3. 6' );38 define( 'BIL_VERSION', '0.3.7' ); 39 39 define( 'BIL_URL', plugins_url( '', __FILE__ ) ); 40 40 define( 'BIL_LANG', '__moosch__' ); … … 151 151 foreach( $wooSizes as $_size ){ 152 152 $size = wc_get_image_size( $_size ); 153 if( isset($size[' width']) && $size['width'] != 0){153 if( isset($size['height']) && isset($size['width']) && $size['width'] != 0 && $size['height'] != '' && $size['width'] != '' ){ 154 154 $ratio = $size['height'] / $size['width']; 155 155 $height = $this->blursize * $ratio;
Note: See TracChangeset
for help on using the changeset viewer.