Plugin Directory

Changeset 3791763


Ignore:
Timestamp:
11/09/2026 02:56:06 AM (less than one hour ago)
Author:
misticuantum
Message:

2.0.3

This update fixes an issue where /// could remain in some cases.

Location:
misticease
Files:
295 added
5 edited

Legend:

Unmodified
Added
Removed
  • misticease/trunk/changelog-misticease.txt

    r3777500 r3791763  
     1= 2.0.1 =
     2* Fixed expired nonce recovery and multisite thumbnail request signatures.
     3* When regular expression processing fails, such as when content contains broken UTF-8, the original content is now displayed as is instead of being emptied.
     4* Removed type declarations from filter functions so that values other than strings (such as null) no longer cause errors.
     5* On multisite, deleting a site no longer leaves empty folders behind or writes database errors to the log.
     6* On servers that write files over FTP, the connection is now checked for success before writing.
     7* URLs in comment text, comment author names, and Latest Comments are no longer converted.
     8* Added `DONOTCACHEPAGE` so that sites using page caching display cached thumbnails.
     9* Fixed issues such as the replacement loop that occurred when thumbnail cache storage was insufficient.
     10* MisticEase no longer handles Vimeo URLs that include `h=`, unless a custom label is added.
     11* Image pop-up windows and gallery navigation now preload images for faster display.
     12* Gallery navigation now moves past images that fail to load.
     13* Floating windows now stay within the screen after resizing or switching images.
     14* Preventively addressed issues that do not occur in normal use.
     15* Reviewed the UI text and the in-plugin documentation.
     16* Minor adjustments.
     17
     18= 2.0.0 =
     19* Video thumbnails are now cached as WebP by default, roughly halving thumbnail cache usage.
     20* Slash Markup is now processed entirely in PHP. Parts previously handled by JavaScript have been unified, so Slash Markup works even when JavaScript is unavailable.
     21* Image pop-ups now carry the original image's alternative text.
     22* Gallery arrows now fade after a short pause.
     23* Vimeo videos now play with Do Not Track enabled.
     24* Improved cache cleanup accuracy when the storage limit is applied.
     25* Requires WordPress 6.2 or later.
     26* Minor adjustments.
     27
     28= 1.3.8 =
     29* Added `gN/` Slash Markup for independent image gallery groups, with `g0/` as the default group.
     30* Floating UX now supports one video and up to two images from different gallery groups at once, with Pin available for all three windows.
     31* Updated image URL handling to remove Slash Markup when image pop-ups are disabled, without altering existing links or video handling.
     32* Minor adjustments.
     33
    134= 1.3.7 =
    235
  • misticease/trunk/inc/app/misticease-render.php

    r3780354 r3791763  
    466466
    467467        $pattern = '/(?:<!--.*?-->|<!\[CDATA\[.*?\]\]>|<(?P<skip_tag>pre|code|script|style|textarea|kbd|samp|var)\b[^>]*>.*?<\/(?P=skip_tag)\s*>)|(?P<prefix>
    468                 (?:(?<![^\s\x{00A0}\x{3000}])\/[^\/<>"\'\n\r]+\/(?:(?:ttl[ \x{3000}][^\/<>"\'\n\r]+|t\d{1,4}|p\d{1,4}|r\d{1,4}|g\d{1,4}|np|ng|n)\/)*)
     468                (?:(?<![^\s\x{00A0}\x{3000}>])\/[^\/<>"\'\n\r]+\/(?:(?:ttl[ \x{3000}][^\/<>"\'\n\r]+|t\d{1,4}|p\d{1,4}|r\d{1,4}|g\d{1,4}|np|ng|n)\/)*)
    469469                |(?:(?<![A-Za-z0-9_])(?:(?:ttl[ \x{3000}][^\/<>"\'\n\r]+|t\d{1,4}|p\d{1,4}|r\d{1,4}|g\d{1,4}|np|ng|n)\/)+)
    470470        )?<a\b[^>]*\bhref=(?P<quote>["\'])(?P<href>[^"\']+)(?P=quote)[^>]*>(?P<text>.*?)<\/a>/isux';
    … …  
    545545                                                return ( isset( $m['prefix'] ) ? (string) $m['prefix'] : '' ) . esc_html( $txt );
    546546                                        }
     547                                }
     548                        }
     549
     550                        // The Block Editor may store the full SML-prefixed video string inside its automatic link.
     551                        if ( preg_match( '/^(?P<prefix>(?:\/[^\/<>"\'\n\r]+\/)?(?:(?:ttl[ \x{3000}][^\/<>"\'\n\r]+|t\d{1,4}|p\d{1,4}|r\d{1,4}|g\d{1,4}|np|ng|n)\/)*)(?P<url>https?:\/\/\S+)$/iu', $txt, $video_inlink )
     552                                && '' !== $video_inlink['prefix']
     553                                && preg_match( misticease_video_service_candidate_pattern(), $video_inlink['url'], $video_match )
     554                                && $video_inlink['url'] === (string) $video_match[0]
     555                        ) {
     556                                $spec                       = misticease_parse_slash_markup_prefix( $video_inlink['prefix'] );
     557                                [ $video_url, $video_tail ] = misticease_split_pasted_video_service_url( $video_inlink['url'] );
     558                                [ $href_url ]               = misticease_split_pasted_video_service_url( $href );
     559                                if (
     560                                        ! empty( $spec['has_markup'] )
     561                                        && '' !== $video_url
     562                                        && '' === $video_tail
     563                                        && $href_url === $video_url
     564                                        && ( '' !== $spec['label'] || ! misticease_is_vimeo_private_hash_url( $video_url ) )
     565                                ) {
     566                                        return ( isset( $m['prefix'] ) ? (string) $m['prefix'] : '' ) . esc_html( $txt );
    547567                                }
    548568                        }
  • misticease/trunk/inc/bootstrap.php

    r3780354 r3791763  
    1515
    1616if ( ! defined( 'MISTICEASE_VER' ) ) {
    17         define( 'MISTICEASE_VER', defined( 'MISTICEASE_VERSION' ) ? MISTICEASE_VERSION : '2.0.2' );
     17        define( 'MISTICEASE_VER', defined( 'MISTICEASE_VERSION' ) ? MISTICEASE_VERSION : '2.0.3' );
    1818}
    1919
  • misticease/trunk/misticease.php

    r3780354 r3791763  
    44 * Plugin URI:  https://mitum.me/misticease
    55 * Description: Turns YouTube and Vimeo video URLs into thumbnails. Videos and linked Media Library images open in draggable pop-up windows.
    6  * Version:     2.0.2
     6 * Version:     2.0.3
    77 * Author:      MistiCuantum
    88 * Author URI:  https://mitum.me
    … …  
    151151        }
    152152        if ( ! defined( 'MISTICEASE_VERSION' ) ) {
    153                 define( 'MISTICEASE_VERSION', '2.0.2' );
     153                define( 'MISTICEASE_VERSION', '2.0.3' );
    154154        }
    155155        if ( ! defined( 'MISTICEASE_PACKAGE_SLUG' ) ) {
  • misticease/trunk/readme.txt

    r3780354 r3791763  
    55Tested up to: 7.1
    66Requires PHP: 7.4
    7 Stable tag: 2.0.2
     7Stable tag: 2.0.3
    88License: GPLv2 or later
    99License URI: https://www.gnu.org/licenses/gpl-2.0.html
    … …  
    142142== Upgrade Notice ==
    143143
    144 = 2.0.2 =
    145 This update lets visitors resize floating pop-up windows by dragging a corner.
     144= 2.0.3 =
     145This update fixes an issue where `///` could remain in some cases.
    146146
    147147== Changelog ==
     148
     149= 2.0.3 =
     150* Fixed an issue where `///` could remain in some cases.
    148151
    149152= 2.0.2 =
    … …  
    156159* Dragging or resizing a window is no longer affected by a second finger or the mouse.
    157160
    158 = 2.0.1 =
    159 * Fixed expired nonce recovery and multisite thumbnail request signatures.
    160 * When regular expression processing fails, such as when content contains broken UTF-8, the original content is now displayed as is instead of being emptied.
    161 * Removed type declarations from filter functions so that values other than strings (such as null) no longer cause errors.
    162 * On multisite, deleting a site no longer leaves empty folders behind or writes database errors to the log.
    163 * On servers that write files over FTP, the connection is now checked for success before writing.
    164 * URLs in comment text, comment author names, and Latest Comments are no longer converted.
    165 * Added `DONOTCACHEPAGE` so that sites using page caching display cached thumbnails.
    166 * Fixed issues such as the replacement loop that occurred when thumbnail cache storage was insufficient.
    167 * MisticEase no longer handles Vimeo URLs that include `h=`, unless a custom label is added.
    168 * Image pop-up windows and gallery navigation now preload images for faster display.
    169 * Gallery navigation now moves past images that fail to load.
    170 * Floating windows now stay within the screen after resizing or switching images.
    171 * Preventively addressed issues that do not occur in normal use.
    172 * Reviewed the UI text and the in-plugin documentation.
    173 * Minor adjustments.
    174 
    175 = 2.0.0 =
    176 * Video thumbnails are now cached as WebP by default, roughly halving thumbnail cache usage.
    177 * Slash Markup is now processed entirely in PHP. Parts previously handled by JavaScript have been unified, so Slash Markup works even when JavaScript is unavailable.
    178 * Image pop-ups now carry the original image's alternative text.
    179 * Gallery arrows now fade after a short pause.
    180 * Vimeo videos now play with Do Not Track enabled.
    181 * Improved cache cleanup accuracy when the storage limit is applied.
    182 * Requires WordPress 6.2 or later.
    183 * Minor adjustments.
    184 
    185 = 1.3.8 =
    186 * Added `gN/` Slash Markup for independent image gallery groups, with `g0/` as the default group.
    187 * Floating UX now supports one video and up to two images from different gallery groups at once, with Pin available for all three windows.
    188 * Updated image URL handling to remove Slash Markup when image pop-ups are disabled, without altering existing links or video handling.
    189 * Minor adjustments.
    190 
    191161Older changelog entries are in `changelog-misticease.txt`.
Note: See TracChangeset for help on using the changeset viewer.