YouTube Embed - Version 4.2.1

Version Description

  • Bug fix: Quotes were not being dealt with correctly in the template field. Now corrected.
Download this release

Release Info

Developer codedart
Plugin Icon 128x128 YouTube Embed
Version 4.2.1
Comparing to
See all releases

Code changes from version 4.2 to 4.2.1

images/cross.png CHANGED
File without changes
images/flash.png CHANGED
File without changes
images/html5.png CHANGED
File without changes
images/tick.png CHANGED
File without changes
includes/shared-functions.php CHANGED
@@ -331,6 +331,10 @@ function vye_get_profile( $profile ) {
331
  } else {
332
  $options[ 'default' ] = false;
333
  }
 
 
 
 
334
 
335
  return $options;
336
  }
331
  } else {
332
  $options[ 'default' ] = false;
333
  }
334
+
335
+ // Remove added slashes from template XHTML
336
+
337
+ if ( isset( $options[ 'template' ] ) ) { $options[ 'template' ] = stripslashes( $options[ 'template' ] ); }
338
 
339
  return $options;
340
  }
js/mce4-button.js CHANGED
File without changes
js/mce4-button.min.js CHANGED
File without changes
readme.txt CHANGED
@@ -3,7 +3,7 @@ Contributors: codedart
3
  Tags: download, embed, embedding, iframe, media, play, playlist, responsive, seo, video, widget, youtube
4
  Requires at least: 3.9
5
  Tested up to: 4.4.1
6
- Stable tag: 4.2
7
  License: GPLv2 or later
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
 
@@ -319,9 +319,12 @@ Before reporting it please bear in mind that this plugin uses the standard YouTu
319
 
320
  == Changelog ==
321
 
 
 
 
322
  = 4.2 =
323
  * Enhancement: Re-written the core embedding code. Redundant code removed and, for the remaining code, re-imagined to improve performance
324
- * Enhancement: Massively changed how the plugin retrieves saved options and, in particular, how I populate default values. The result? Much improved performance
325
  * Enhancement: Reviewed and reduced the calls to fetch the options
326
  * Enhancement: Added a new general option to allow you to force a list type to be specified before a list can be used. The reason? By doing this the code doesn't have to check if the ID it a list name each time and it improves performance. For those upgrading this will be switched off by default to maintain backwards compatibility
327
  * Enhancement: Admin bar options only appear if viewing the admin bar on the site (showing it whilst in the admin screens seemed rather pointless)
@@ -688,6 +691,9 @@ Before reporting it please bear in mind that this plugin uses the standard YouTu
688
 
689
  == Upgrade Notice ==
690
 
 
 
 
691
  = 4.2 =
692
  * Who needs caching when the code works this fast? It's now 365% quicker than version 4.1. Completely re-written core code for rip-roaring speed
693
 
3
  Tags: download, embed, embedding, iframe, media, play, playlist, responsive, seo, video, widget, youtube
4
  Requires at least: 3.9
5
  Tested up to: 4.4.1
6
+ Stable tag: 4.2.1
7
  License: GPLv2 or later
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
 
319
 
320
  == Changelog ==
321
 
322
+ = 4.2.1 =
323
+ * Bug fix: Quotes were not being dealt with correctly in the template field. Now corrected.
324
+
325
  = 4.2 =
326
  * Enhancement: Re-written the core embedding code. Redundant code removed and, for the remaining code, re-imagined to improve performance
327
+ * Enhancement: Massively changed how the plugin retrieves saved options and, in particular, how I populate default values. The result? Even better performance
328
  * Enhancement: Reviewed and reduced the calls to fetch the options
329
  * Enhancement: Added a new general option to allow you to force a list type to be specified before a list can be used. The reason? By doing this the code doesn't have to check if the ID it a list name each time and it improves performance. For those upgrading this will be switched off by default to maintain backwards compatibility
330
  * Enhancement: Admin bar options only appear if viewing the admin bar on the site (showing it whilst in the admin screens seemed rather pointless)
691
 
692
  == Upgrade Notice ==
693
 
694
+ = 4.2.1 =
695
+ * Important update to fix a bug with the template field
696
+
697
  = 4.2 =
698
  * Who needs caching when the code works this fast? It's now 365% quicker than version 4.1. Completely re-written core code for rip-roaring speed
699
 
youtube-embed.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: YouTube Embed
4
  Plugin URI: https://wordpress.org/plugins/youtube-embed/
5
  Description: Embed YouTube Videos in WordPress
6
- Version: 4.2
7
  Author: Coded Art
8
  Author URI: http://codedart.co
9
  Text Domain: youtube-embed
@@ -19,7 +19,7 @@ Domain Path: /languages
19
  * @since 2.0
20
  */
21
 
22
- define( 'youtube_embed_version', '4.2' );
23
 
24
  $functions_dir = plugin_dir_path( __FILE__ ) . 'includes/';
25
 
3
  Plugin Name: YouTube Embed
4
  Plugin URI: https://wordpress.org/plugins/youtube-embed/
5
  Description: Embed YouTube Videos in WordPress
6
+ Version: 4.2.1
7
  Author: Coded Art
8
  Author URI: http://codedart.co
9
  Text Domain: youtube-embed
19
  * @since 2.0
20
  */
21
 
22
+ define( 'youtube_embed_version', '4.2.1' );
23
 
24
  $functions_dir = plugin_dir_path( __FILE__ ) . 'includes/';
25