Plugin Directory

Changeset 3226680


Ignore:
Timestamp:
01/22/2025 09:08:41 AM (13 months ago)
Author:
TinyPNG
Message:

3.4.5 trunk

Location:
tiny-compress-images/trunk
Files:
1 added
4 edited

Legend:

Unmodified
Added
Removed
  • tiny-compress-images/trunk/readme.txt

    r3145112 r3226680  
    44Tags: compress images, compression, image size, page speed, performance
    55Requires at least: 3.4
    6 Tested up to: 6.6
    7 Stable tag: 3.4.4
     6Tested up to: 6.7
     7Stable tag: 3.4.5
    88License: GPLv2 or later
    99License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    132132
    133133== Changelog ==
     134= 3.4.5 =
     135* Error when mb_strimwidth is not available resolved
     136
    134137= 3.4.4 =
    135138* CSRF fix, added nonce check
  • tiny-compress-images/trunk/src/class-tiny-image.php

    r2756946 r3226680  
    165165
    166166    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' ) );
    168168    }
    169169
     
    386386                    if ( null === $last_timestamp || $last_timestamp < $size->meta['timestamp'] ) {
    387387                        $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 );
    389389                    }
    390390                }
  • tiny-compress-images/trunk/src/class-tiny-plugin.php

    r3145112 r3226680  
    1919*/
    2020class Tiny_Plugin extends Tiny_WP_Base {
    21     const VERSION = '3.4.3';
     21    const VERSION = '3.4.5';
    2222    const MEDIA_COLUMN = self::NAME;
    2323    const DATETIME_FORMAT = 'Y-m-d G:i:s';
  • tiny-compress-images/trunk/tiny-compress-images.php

    r3145112 r3226680  
    33 * Plugin Name: TinyPNG - JPEG, PNG & WebP image compression
    44 * Description: Speed up your website. Optimize your JPEG, PNG, and WebP images automatically with TinyPNG.
    5  * Version: 3.4.4
     5 * Version: 3.4.5
    66 * Author: TinyPNG
    77 * Author URI: https://tinypng.com
Note: See TracChangeset for help on using the changeset viewer.