Changeset 2304588
- Timestamp:
- 05/14/2020 03:05:36 AM (6 years ago)
- Location:
- template-kit-export/trunk
- Files:
-
- 4 edited
-
README.txt (modified) (2 diffs)
-
admin/partials/template-kit-export-step-3.php (modified) (1 diff)
-
builders/class-template-kit-export-builders-base.php (modified) (1 diff)
-
template-kit-export.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
template-kit-export/trunk/README.txt
r2303126 r2304588 5 5 Tested up to: 5.4 6 6 Requires PHP: 5.6 7 Stable tag: 1.0.1 37 Stable tag: 1.0.14 8 8 License: GPLv3 9 9 License URI: https://www.gnu.org/licenses/gpl-3.0.html … … 38 38 39 39 == Changelog == 40 41 = 1.0.14 - 2020-05-14 = 42 * Change the image size requirements and warning messaging. 40 43 41 44 = 1.0.13 - 2020-05-12 = -
template-kit-export/trunk/admin/partials/template-kit-export-step-3.php
r2262139 r2304588 68 68 (<?php echo esc_html( $image['dimensions'][0] . 'x' . $image['dimensions'][1] . 'px @ ' . number_format( $image['filesize'] / 1048576, 2 ) . ' MB' ); ?>) 69 69 <?php 70 if ( $image['filesize'] > 310000 ) {70 if ( $image['filesize'] > 510000 ) { 71 71 ?> 72 <strong><em>Warning: Please try to reduce original image size closer to 100kb.</em></strong>72 <strong><em>Warning: Please try to reduce original image size.</em></strong> 73 73 <?php 74 74 } -
template-kit-export/trunk/builders/class-template-kit-export-builders-base.php
r2302251 r2304588 605 605 if ( ! $image['filesize'] ) { 606 606 $image_errors[] = 'Sorry we cannot read the file: ' . $image['filename']; 607 } elseif ( $image['filesize'] > 900000 ) {607 } elseif ( $image['filesize'] > 1000000 ) { 608 608 // Most WordPress installs default to 1MB upload limit 609 $image_errors[] = 'This source image is too large (' . number_format( $image['filesize'] / 1048576, 2 ) . ' MB' . '). Please reduce file size under 500kb, ideal size is 100kb. Try resizing the image and then use TinyPNG as well: ' . $image['filename'];609 $image_errors[] = 'This source image is too large (' . number_format( $image['filesize'] / 1048576, 2 ) . ' MB' . '). Reduce it to less than 1MB: ' . $image['filename']; 610 610 } 611 611 } -
template-kit-export/trunk/template-kit-export.php
r2303126 r2304588 3 3 * Plugin Name: Template Kit Export 4 4 * Description: Use this plugin to export Template Kits for Elementor. 5 * Version: 1.0.1 35 * Version: 1.0.14 6 6 * Author: Envato 7 7 * Author URI: https://envato.com … … 19 19 * Currently plugin version. 20 20 */ 21 define( 'TEMPLATE_KIT_EXPORT_VERSION', '1.0.1 3' );21 define( 'TEMPLATE_KIT_EXPORT_VERSION', '1.0.14' ); 22 22 23 23 /**
Note: See TracChangeset
for help on using the changeset viewer.