Plugin Directory

Changeset 1255165


Ignore:
Timestamp:
09/28/2015 03:19:27 PM (11 years ago)
Author:
sparkweb
Message:

v 1.4.1

Location:
hide-youtube-related-videos
Files:
3 added
2 edited

Legend:

Unmodified
Added
Removed
  • hide-youtube-related-videos/trunk/hide-youtube-related-videos.php

    r1252792 r1255165  
    55Description: This is a simple plugin to keep the YouTube oEmbed from showing related videos.
    66Author: SparkWeb Interactive, Inc.
    7 Version: 1.4
     7Version: 1.4.1
    88Author URI: http://www.soapboxdave.com/
    99
     
    3636
    3737    //Regular oembed
    38     if (strpos($data, "?feature=oembed") !== false) {
    39         $data = str_replace('?feature=oembed', '?' . $str_to_add . '&feature=oembed', $data);
     38    if (strpos($data, "feature=oembed") !== false) {
     39        $data = str_replace('feature=oembed', $str_to_add . '&feature=oembed', $data);
    4040
    4141    //Playlist
    42     } elseif (strpos($data, "videoseries?list=") !== false) {
    43         $data = str_replace('videoseries?list=', 'videoseries?' . $str_to_add . '&list=', $data);
     42    } elseif (strpos($data, "list=") !== false) {
     43        $data = str_replace('list=', $str_to_add . '&list=', $data);
    4444    }
    4545
  • hide-youtube-related-videos/trunk/readme.txt

    r1252792 r1255165  
    44Requires at least: 2.9
    55Tested up to: 4.3.1
    6 Stable tag: 1.4
     6Stable tag: 1.4.1
    77This is a simple plugin to keep the YouTube oEmbed from showing related videos.
    88
     
    4545== Changelog ==
    4646
     47= 1.4.1 (Sep 28, 2015) =
     48* Ease matching restrictions to allow more querystring elements to be passed through on original ur
     49
    4750= 1.4 (Sep 24, 2015) =
    48 Added support for playlists, added clear cache button to plugin page
     51* Added support for playlists, added clear cache button to plugin page
    4952
    5053= 1.3 (Feb 10, 2014) =
    51 Disabled Jetpack YouTube shortcode embed as it kills this feature
     54* Disabled Jetpack YouTube shortcode embed as it kills this feature
    5255
    5356= 1.2 (Feb 21, 2013) =
    54 Added wmode=transparent to the url structure
     57* Added wmode=transparent to the url structure
    5558
    5659= 1.1 (Feb 11, 2013) =
     
    6366== Upgrade Notice ==
    6467
    65 = 1.4 =
    66 Added support for playlists, added clear cache button to plugin page
     68= 1.4.1 =
     69Added support for playlists, added clear cache button to plugin page, ease matching restrictions
Note: See TracChangeset for help on using the changeset viewer.