Changeset 3226680
- Timestamp:
- 01/22/2025 09:08:41 AM (13 months ago)
- Location:
- tiny-compress-images/trunk
- Files:
-
- 1 added
- 4 edited
-
readme.txt (modified) (2 diffs)
-
src/class-tiny-helpers.php (added)
-
src/class-tiny-image.php (modified) (2 diffs)
-
src/class-tiny-plugin.php (modified) (1 diff)
-
tiny-compress-images.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
tiny-compress-images/trunk/readme.txt
r3145112 r3226680 4 4 Tags: compress images, compression, image size, page speed, performance 5 5 Requires at least: 3.4 6 Tested up to: 6. 67 Stable tag: 3.4. 46 Tested up to: 6.7 7 Stable tag: 3.4.5 8 8 License: GPLv2 or later 9 9 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 132 132 133 133 == Changelog == 134 = 3.4.5 = 135 * Error when mb_strimwidth is not available resolved 136 134 137 = 3.4.4 = 135 138 * CSRF fix, added nonce check -
tiny-compress-images/trunk/src/class-tiny-image.php
r2756946 r3226680 165 165 166 166 public function file_type_allowed() { 167 return in_array( $this->get_mime_type(), array( 'image/jpeg', 'image/png', 'image/webp' ) );167 return in_array( $this->get_mime_type(), array( 'image/jpeg', 'image/png', 'image/webp' ) ); 168 168 } 169 169 … … 386 386 if ( null === $last_timestamp || $last_timestamp < $size->meta['timestamp'] ) { 387 387 $last_timestamp = $size->meta['timestamp']; 388 $error_message = mb_strimwidth( $size->meta['message'], 0 , 140, '...');388 $error_message = Tiny_Helpers::truncate_text( $size->meta['message'], 140 ); 389 389 } 390 390 } -
tiny-compress-images/trunk/src/class-tiny-plugin.php
r3145112 r3226680 19 19 */ 20 20 class Tiny_Plugin extends Tiny_WP_Base { 21 const VERSION = '3.4. 3';21 const VERSION = '3.4.5'; 22 22 const MEDIA_COLUMN = self::NAME; 23 23 const DATETIME_FORMAT = 'Y-m-d G:i:s'; -
tiny-compress-images/trunk/tiny-compress-images.php
r3145112 r3226680 3 3 * Plugin Name: TinyPNG - JPEG, PNG & WebP image compression 4 4 * Description: Speed up your website. Optimize your JPEG, PNG, and WebP images automatically with TinyPNG. 5 * Version: 3.4. 45 * Version: 3.4.5 6 6 * Author: TinyPNG 7 7 * Author URI: https://tinypng.com
Note: See TracChangeset
for help on using the changeset viewer.