Smart YouTube PRO - Version 4.1.8

Version Description

  • 3.5 compatiblity
Download this release

Release Info

Developer freediver
Plugin Icon 128x128 Smart YouTube PRO
Version 4.1.8
Comparing to
See all releases

Code changes from version 4.1.7 to 4.1.8

Files changed (2) hide show
  1. readme.txt +4 -1
  2. smartyoutube.php +4 -4
readme.txt CHANGED
@@ -3,7 +3,7 @@ Contributors: freediver
3
  Donate link: https://www.networkforgood.org/donation/MakeDonation.aspx?ORGID2=520781390
4
  Tags: youtube, video, play, media, Post, posts, admin, metacafe, liveleak, vimeo, facebook, thumbnails
5
  Requires at least: 2.0
6
- Tested up to: 3.3.2
7
  Stable tag: trunk
8
 
9
  Smart Youtube is a professional WordPress Video plugin that allows you to easily insert videos/playlists into your post, comments and in your RSS feed. The plugin is designed to be small and fast and not use any external resources.
@@ -49,6 +49,9 @@ For updates, you can check out [my blog](http://www.prelovac.com/vladimir/) or f
49
 
50
  == Changelog ==
51
 
 
 
 
52
  = 4.1.7 =
53
  * New playlist format supported
54
 
3
  Donate link: https://www.networkforgood.org/donation/MakeDonation.aspx?ORGID2=520781390
4
  Tags: youtube, video, play, media, Post, posts, admin, metacafe, liveleak, vimeo, facebook, thumbnails
5
  Requires at least: 2.0
6
+ Tested up to: 3.5
7
  Stable tag: trunk
8
 
9
  Smart Youtube is a professional WordPress Video plugin that allows you to easily insert videos/playlists into your post, comments and in your RSS feed. The plugin is designed to be small and fast and not use any external resources.
49
 
50
  == Changelog ==
51
 
52
+ = 4.1.8 =
53
+ * 3.5 compatiblity
54
+
55
  = 4.1.7 =
56
  * New playlist format supported
57
 
smartyoutube.php CHANGED
@@ -4,7 +4,7 @@ Plugin Name: Smart Youtube PRO
4
  Plugin URI: http://www.prelovac.com/vladimir/wordpress-plugins/smart-youtube
5
  Description: Insert YouTube videos in posts, comments and RSS feeds with ease and full customization.
6
  Author: Vladimir Prelovac
7
- Version: 4.1.7
8
  Author URI: http://www.prelovac.com/vladimir/
9
 
10
 
@@ -332,7 +332,7 @@ class SmartYouTube_PRO {
332
  <link rel="stylesheet" type="text/css" href="' . $this->plugin_url . '/styleyt.css" />';
333
 
334
  $imgpath = $this->plugin_url.'/i';
335
- $actionurl = $_SERVER['REQUEST_URI'];
336
  $nonce = wp_create_nonce( 'smart-youtube' );
337
  $example = htmlentities( '<div style="float:left;margin-right: 10px;">{video}</div>' );
338
 
@@ -563,7 +563,7 @@ class SmartYouTube_PRO {
563
  }
564
 
565
  $imgpath = $this->plugin_url . '/i';
566
- $actionurl = $_SERVER['REQUEST_URI'];
567
 
568
  $this->options = $this->get_options();
569
  ?>
@@ -612,7 +612,7 @@ class SmartYouTube_PRO {
612
 
613
  $upd_msg = "";
614
 
615
- $actionurl = $_SERVER['REQUEST_URI'];
616
  $nonce = wp_create_nonce( 'smart-youtube' );
617
 
618
  $lic_msg = '<p>Welcome to ' . __( 'Smart YouTube PRO', 'smart-youtube' ) . '.</p>';
4
  Plugin URI: http://www.prelovac.com/vladimir/wordpress-plugins/smart-youtube
5
  Description: Insert YouTube videos in posts, comments and RSS feeds with ease and full customization.
6
  Author: Vladimir Prelovac
7
+ Version: 4.1.8
8
  Author URI: http://www.prelovac.com/vladimir/
9
 
10
 
332
  <link rel="stylesheet" type="text/css" href="' . $this->plugin_url . '/styleyt.css" />';
333
 
334
  $imgpath = $this->plugin_url.'/i';
335
+ $actionurl = stripslashes(htmlentities(strip_tags($_SERVER['REQUEST_URI'])));
336
  $nonce = wp_create_nonce( 'smart-youtube' );
337
  $example = htmlentities( '<div style="float:left;margin-right: 10px;">{video}</div>' );
338
 
563
  }
564
 
565
  $imgpath = $this->plugin_url . '/i';
566
+ $actionurl = stripslashes(htmlentities(strip_tags($_SERVER['REQUEST_URI'])));
567
 
568
  $this->options = $this->get_options();
569
  ?>
612
 
613
  $upd_msg = "";
614
 
615
+ $actionurl = stripslashes(htmlentities(strip_tags($_SERVER['REQUEST_URI'])));
616
  $nonce = wp_create_nonce( 'smart-youtube' );
617
 
618
  $lic_msg = '<p>Welcome to ' . __( 'Smart YouTube PRO', 'smart-youtube' ) . '.</p>';