Plugin Directory

Changeset 3159337


Ignore:
Timestamp:
09/28/2024 07:08:30 PM (18 months ago)
Author:
futtta
Message:

fix for broken youtu.be links in gutenberg blocks

Location:
wp-youtube-lyte
Files:
2 edited
7 copied

Legend:

Unmodified
Added
Removed
  • wp-youtube-lyte/tags/1.7.25/readme.txt

    r3159149 r3159337  
    77Requires at least: 4.0
    88Tested up to: 6.6
    9 Stable tag: 1.7.24
     9Stable tag: 1.7.25
    1010
    1111High performance YouTube video, playlist and audio-only embeds which don't slow down your blog and offer optimal accessibility.
     
    145145
    146146== Changelog ==
     147
     148= 1.7.25 =
     149* fix for regression that saw youtu.be links in WordPress blocks break.
    147150
    148151= 1.7.24 =
  • wp-youtube-lyte/tags/1.7.25/wp-youtube-lyte.php

    r3159146 r3159337  
    55Description: Lite and accessible YouTube audio and video embedding.
    66Author: Frank Goossens (futtta)
    7 Version: 1.7.24
     7Version: 1.7.25
    88Author URI: http://blog.futtta.be/
    99Text Domain: wp-youtube-lyte
     
    1515
    1616$debug           = false;
    17 $lyte_version    = '1.7.24';
     17$lyte_version    = '1.7.25';
    1818$lyte_db_version = get_option( 'lyte_version', 'none' );
    1919
     
    779779            $url = str_replace('https://www.youtube.com/playlist?list=', 'httpv://www.youtube.com/playlist?list=', $params['url'], $count);
    780780            if (!$count) {
    781                 $url = preg_replace('%^https?://(?:www\.)?youtu(?:be\.com/watch\?v=|.be)%', 'httpv://www.youtube.com/watch?v=', $params['url'], 1, $count);
     781                $url = preg_replace('%^https?://(?:www\.)?youtu(?:be\.com/watch\?v=|.be/)%', 'httpv://www.youtube.com/watch?v=', $params['url'], 1, $count);
    782782                if (!$count) {
    783783                    return $matches[0];
  • wp-youtube-lyte/trunk/readme.txt

    r3159149 r3159337  
    77Requires at least: 4.0
    88Tested up to: 6.6
    9 Stable tag: 1.7.24
     9Stable tag: 1.7.25
    1010
    1111High performance YouTube video, playlist and audio-only embeds which don't slow down your blog and offer optimal accessibility.
     
    145145
    146146== Changelog ==
     147
     148= 1.7.25 =
     149* fix for regression that saw youtu.be links in WordPress blocks break.
    147150
    148151= 1.7.24 =
  • wp-youtube-lyte/trunk/wp-youtube-lyte.php

    r3159146 r3159337  
    55Description: Lite and accessible YouTube audio and video embedding.
    66Author: Frank Goossens (futtta)
    7 Version: 1.7.24
     7Version: 1.7.25
    88Author URI: http://blog.futtta.be/
    99Text Domain: wp-youtube-lyte
     
    1515
    1616$debug           = false;
    17 $lyte_version    = '1.7.24';
     17$lyte_version    = '1.7.25';
    1818$lyte_db_version = get_option( 'lyte_version', 'none' );
    1919
     
    779779            $url = str_replace('https://www.youtube.com/playlist?list=', 'httpv://www.youtube.com/playlist?list=', $params['url'], $count);
    780780            if (!$count) {
    781                 $url = preg_replace('%^https?://(?:www\.)?youtu(?:be\.com/watch\?v=|.be)%', 'httpv://www.youtube.com/watch?v=', $params['url'], 1, $count);
     781                $url = preg_replace('%^https?://(?:www\.)?youtu(?:be\.com/watch\?v=|.be/)%', 'httpv://www.youtube.com/watch?v=', $params['url'], 1, $count);
    782782                if (!$count) {
    783783                    return $matches[0];
Note: See TracChangeset for help on using the changeset viewer.