Changeset 1255165
- Timestamp:
- 09/28/2015 03:19:27 PM (11 years ago)
- Location:
- hide-youtube-related-videos
- Files:
-
- 3 added
- 2 edited
-
tags/1.4.1 (added)
-
tags/1.4.1/hide-youtube-related-videos.php (added)
-
tags/1.4.1/readme.txt (added)
-
trunk/hide-youtube-related-videos.php (modified) (2 diffs)
-
trunk/readme.txt (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
hide-youtube-related-videos/trunk/hide-youtube-related-videos.php
r1252792 r1255165 5 5 Description: This is a simple plugin to keep the YouTube oEmbed from showing related videos. 6 6 Author: SparkWeb Interactive, Inc. 7 Version: 1.4 7 Version: 1.4.1 8 8 Author URI: http://www.soapboxdave.com/ 9 9 … … 36 36 37 37 //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); 40 40 41 41 //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); 44 44 } 45 45 -
hide-youtube-related-videos/trunk/readme.txt
r1252792 r1255165 4 4 Requires at least: 2.9 5 5 Tested up to: 4.3.1 6 Stable tag: 1.4 6 Stable tag: 1.4.1 7 7 This is a simple plugin to keep the YouTube oEmbed from showing related videos. 8 8 … … 45 45 == Changelog == 46 46 47 = 1.4.1 (Sep 28, 2015) = 48 * Ease matching restrictions to allow more querystring elements to be passed through on original ur 49 47 50 = 1.4 (Sep 24, 2015) = 48 Added support for playlists, added clear cache button to plugin page51 * Added support for playlists, added clear cache button to plugin page 49 52 50 53 = 1.3 (Feb 10, 2014) = 51 Disabled Jetpack YouTube shortcode embed as it kills this feature54 * Disabled Jetpack YouTube shortcode embed as it kills this feature 52 55 53 56 = 1.2 (Feb 21, 2013) = 54 Added wmode=transparent to the url structure57 * Added wmode=transparent to the url structure 55 58 56 59 = 1.1 (Feb 11, 2013) = … … 63 66 == Upgrade Notice == 64 67 65 = 1.4 =66 Added support for playlists, added clear cache button to plugin page 68 = 1.4.1 = 69 Added support for playlists, added clear cache button to plugin page, ease matching restrictions
Note: See TracChangeset
for help on using the changeset viewer.