YouTube Channel - Version 3.0.8.9

Version Description

  • Fix: Set Hide link for Link to option for Link to Channel in global setting does not work (reported by drweby2).
  • Change: Set minumal required WordPress version 4.0
  • Update: Supported WordPress Version to 4.4
Download this release

Release Info

Developer urkekg
Plugin Icon YouTube Channel
Version 3.0.8.9
Comparing to
See all releases

Code changes from version 3.0.8.8 to 3.0.8.9

Files changed (3) hide show
  1. inc/settings.php +1 -1
  2. readme.txt +9 -3
  3. youtube-channel.php +2 -2
inc/settings.php CHANGED
@@ -1027,7 +1027,7 @@ if ( ! class_exists( 'WPAU_YOUTUBE_CHANNEL_SETTINGS' ) ) {
1027
 
1028
  // --- Link to Channel ---
1029
  case 'ytc_link':
1030
- $sanitized['link_to'] = ( isset( $options['link_to'] ) ) ? intval( $options['link_to'] ) : $this->defaults['link_to'];
1031
  $sanitized['goto_txt'] = ( ! empty( $options['goto_txt'] ) ) ? $options['goto_txt'] : $this->defaults['goto_txt'];
1032
  $sanitized['popup_goto'] = ( isset( $options['popup_goto'] ) ) ? intval( $options['popup_goto'] ) : $this->defaults['popup_goto'];
1033
  break; // Link to Channel
1027
 
1028
  // --- Link to Channel ---
1029
  case 'ytc_link':
1030
+ $sanitized['link_to'] = ( isset( $options['link_to'] ) ) ? $options['link_to'] : $this->defaults['link_to'];
1031
  $sanitized['goto_txt'] = ( ! empty( $options['goto_txt'] ) ) ? $options['goto_txt'] : $this->defaults['goto_txt'];
1032
  $sanitized['popup_goto'] = ( isset( $options['popup_goto'] ) ) ? intval( $options['popup_goto'] ) : $this->defaults['popup_goto'];
1033
  break; // Link to Channel
readme.txt CHANGED
@@ -2,9 +2,9 @@
2
  Contributors: urkekg
3
  Donate link: http://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: 3.9.0
6
- Tested up to: 4.3.2
7
- Stable tag: 3.0.8.8
8
  License: GPLv3
9
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
10
 
@@ -353,6 +353,12 @@ If you really need that missing feature ASAP, feel free to [contact me](urosevic
353
  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] ...**
354
 
355
  == Changelog ==
 
 
 
 
 
 
356
  = 3.0.8.8 =
357
  * Fix: Link to channel enabled in Widget not shown if related link ID has not set in Widget (ignored general settings).
358
  * Fix: Undefined notices
2
  Contributors: urkekg
3
  Donate link: http://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.4
7
+ Stable tag: 3.0.8.9
8
  License: GPLv3
9
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
10
 
353
  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] ...**
354
 
355
  == Changelog ==
356
+
357
+ = 3.0.8.9 =
358
+ * Fix: Set `Hide link` for `Link to` option for `Link to Channel` in global setting does not work (reported by drweby2).
359
+ * Change: Set minumal required WordPress version 4.0
360
+ * Update: Supported WordPress Version to 4.4
361
+
362
  = 3.0.8.8 =
363
  * Fix: Link to channel enabled in Widget not shown if related link ID has not set in Widget (ignored general settings).
364
  * Fix: Undefined notices
youtube-channel.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: YouTube Channel
4
  Plugin URI: http://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.8.8
7
  Author: Aleksandar Urošević
8
  Author URI: http://urosevic.net/
9
  Text Domain: youtube-channel
@@ -19,7 +19,7 @@ if ( ! class_exists( 'WPAU_YOUTUBE_CHANNEL' ) ) {
19
  {
20
 
21
  const DB_VER = 14;
22
- const VER = '3.0.8.8';
23
 
24
  public $plugin_name = 'YouTube Channel';
25
  public $plugin_slug = 'youtube-channel';
3
  Plugin Name: YouTube Channel
4
  Plugin URI: http://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.8.9
7
  Author: Aleksandar Urošević
8
  Author URI: http://urosevic.net/
9
  Text Domain: youtube-channel
19
  {
20
 
21
  const DB_VER = 14;
22
+ const VER = '3.0.8.9';
23
 
24
  public $plugin_name = 'YouTube Channel';
25
  public $plugin_slug = 'youtube-channel';