Version Description
(20190719) = * Fix: referrer is wrong for protected API keys (thanks to @hmmux)
Download this release
Release Info
Developer | urkekg |
Plugin | YouTube Channel |
Version | 3.0.11.8 |
Comparing to | |
See all releases |
Code changes from version 3.0.11.7 to 3.0.11.8
- readme.txt +4 -1
- youtube-channel.php +3 -2
readme.txt
CHANGED
@@ -4,7 +4,7 @@ Donate link: https://urosevic.net/wordpress/donate/?donate_for=youtube-channel
|
|
4 |
Tags: youtube, channel, playlist, single, widget, widgets, youtube player, feed, video, thumbnail, embed, sidebar, iframe, html5, responsive
|
5 |
Requires at least: 4.0
|
6 |
Tested up to: 4.9.8
|
7 |
-
Stable tag: 3.0.11.
|
8 |
License: GPLv3
|
9 |
License URI: http://www.gnu.org/licenses/gpl-3.0.html
|
10 |
|
@@ -440,6 +440,9 @@ If you really need that missing feature ASAP, feel free to [contact me](urosevic
|
|
440 |
If you don't wish to pay for enhancements (then you don't care would that be implemented in a week, month, year or so), then send new [Support topic](https://wordpress.org/support/plugin/youtube-channel) with *Topic title* in format **[Feature Request] ...**
|
441 |
|
442 |
== Changelog ==
|
|
|
|
|
|
|
443 |
= 3.0.11.7 (20180906) =
|
444 |
* Add: Global option `sslverify` to disable SSL Verification
|
445 |
* Add: Global option `js_ev_listener` to enable Event Listener DOMContentLoaded
|
4 |
Tags: youtube, channel, playlist, single, widget, widgets, youtube player, feed, video, thumbnail, embed, sidebar, iframe, html5, responsive
|
5 |
Requires at least: 4.0
|
6 |
Tested up to: 4.9.8
|
7 |
+
Stable tag: 3.0.11.8
|
8 |
License: GPLv3
|
9 |
License URI: http://www.gnu.org/licenses/gpl-3.0.html
|
10 |
|
440 |
If you don't wish to pay for enhancements (then you don't care would that be implemented in a week, month, year or so), then send new [Support topic](https://wordpress.org/support/plugin/youtube-channel) with *Topic title* in format **[Feature Request] ...**
|
441 |
|
442 |
== Changelog ==
|
443 |
+
= 3.0.11.8 (20190719) =
|
444 |
+
* Fix: referrer is wrong for protected API keys (thanks to @hmmux)
|
445 |
+
|
446 |
= 3.0.11.7 (20180906) =
|
447 |
* Add: Global option `sslverify` to disable SSL Verification
|
448 |
* Add: Global option `js_ev_listener` to enable Event Listener DOMContentLoaded
|
youtube-channel.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
Plugin Name: YouTube Channel
|
4 |
Plugin URI: https://urosevic.net/wordpress/plugins/youtube-channel/
|
5 |
Description: Quick and easy embed latest or random videos from YouTube channel (user uploads, liked or favourited videos) or playlist. Use <a href="widgets.php">widget</a> for sidebar or shortcode for content. Works with <em>YouTube Data API v3</em>.
|
6 |
-
Version: 3.0.11.
|
7 |
Author: Aleksandar Urošević
|
8 |
Author URI: https://urosevic.net/
|
9 |
Text Domain: youtube-channel
|
@@ -18,7 +18,7 @@ if ( ! class_exists( 'WPAU_YOUTUBE_CHANNEL' ) ) {
|
|
18 |
class WPAU_YOUTUBE_CHANNEL {
|
19 |
|
20 |
const DB_VER = 22;
|
21 |
-
const VER = '3.0.11.
|
22 |
|
23 |
public $plugin_name = 'YouTube Channel';
|
24 |
public $plugin_slug = 'youtube-channel';
|
@@ -935,6 +935,7 @@ if ( ! class_exists( 'WPAU_YOUTUBE_CHANNEL' ) ) {
|
|
935 |
$wparg = array(
|
936 |
'timeout' => $this->defaults['timeout'],
|
937 |
'sslverify' => $this->defaults['sslverify'] ? true : false,
|
|
|
938 |
);
|
939 |
|
940 |
$response = wp_remote_get( $feed_url, $wparg );
|
3 |
Plugin Name: YouTube Channel
|
4 |
Plugin URI: https://urosevic.net/wordpress/plugins/youtube-channel/
|
5 |
Description: Quick and easy embed latest or random videos from YouTube channel (user uploads, liked or favourited videos) or playlist. Use <a href="widgets.php">widget</a> for sidebar or shortcode for content. Works with <em>YouTube Data API v3</em>.
|
6 |
+
Version: 3.0.11.8
|
7 |
Author: Aleksandar Urošević
|
8 |
Author URI: https://urosevic.net/
|
9 |
Text Domain: youtube-channel
|
18 |
class WPAU_YOUTUBE_CHANNEL {
|
19 |
|
20 |
const DB_VER = 22;
|
21 |
+
const VER = '3.0.11.8';
|
22 |
|
23 |
public $plugin_name = 'YouTube Channel';
|
24 |
public $plugin_slug = 'youtube-channel';
|
935 |
$wparg = array(
|
936 |
'timeout' => $this->defaults['timeout'],
|
937 |
'sslverify' => $this->defaults['sslverify'] ? true : false,
|
938 |
+
'headers' => array( 'referer' => site_url() ),
|
939 |
);
|
940 |
|
941 |
$response = wp_remote_get( $feed_url, $wparg );
|