Featured Video Plus - Version 2.3.2

Version Description

Download this release

Release Info

Developer a.hoereth
Plugin Icon 128x128 Featured Video Plus
Version 2.3.2
Comparing to
See all releases

Code changes from version 2.3.1 to 2.3.2

CHANGELOG.md CHANGED
@@ -1,7 +1,10 @@
1
  # Changelog #
2
 
 
 
 
3
  ## 2.3.1: 2016-12-16 ##
4
- * Quick fix 'are you sure' error on post creation. ([*](https://wordpress.org/support/topic/latest-update-causing-error/), [*](https://wordpress.org/support/topic/error-are-you-sure-you-want-to-do-this-3/))
5
 
6
  ## 2.3.0: 2016-12-15 ##
7
  * Now compatible with [Video SEO](https://yoast.com/wordpress/plugins/video-seo/)! ([*](https://wordpress.org/support/topic/compatibility-with-video-seo), [*](https://wordpress.org/support/topic/video-seo-featured-video-plus-compatability), [*](https://wordpress.org/support/topic/fantastic-a-must-have-for-all-video-sites))
1
  # Changelog #
2
 
3
+ ## 2.3.2: 2016-12-16 ##
4
+ * Quick fix for *illegal video* message when using oEmbed. ([*](https://wordpress.org/support/topic/illegal-warning-displays-on-youtube-videos-2/), [*](https://wordpress.org/support/topic/illegal-warning-displays-on-youtube-videos/))
5
+
6
  ## 2.3.1: 2016-12-16 ##
7
+ * Quick fix for *are you sure* error on post creation. ([*](https://wordpress.org/support/topic/latest-update-causing-error/), [*](https://wordpress.org/support/topic/error-are-you-sure-you-want-to-do-this-3/))
8
 
9
  ## 2.3.0: 2016-12-15 ##
10
  * Now compatible with [Video SEO](https://yoast.com/wordpress/plugins/video-seo/)! ([*](https://wordpress.org/support/topic/compatibility-with-video-seo), [*](https://wordpress.org/support/topic/video-seo-featured-video-plus-compatability), [*](https://wordpress.org/support/topic/fantastic-a-must-have-for-all-video-sites))
featured-video-plus.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: Featured Video Plus
4
  Plugin URI: http://yrnxt.com/wordpress/featured-video-plus/
5
  Description: Add Featured Videos to your posts and pages.
6
- Version: 2.3.1
7
  Author: Alexander Höreth
8
  Author URI: http://yrnxt.com
9
  Text Domain: featured-video-plus
@@ -32,7 +32,7 @@ License: GPL-2.0
32
  // ********************
33
  // CONSTANTS
34
  if ( ! defined( 'FVP_VERSION' ) ) {
35
- define( 'FVP_VERSION', '2.3.1' );
36
  }
37
 
38
  $pathinfo = pathinfo( dirname( plugin_basename( __FILE__ ) ) );
3
  Plugin Name: Featured Video Plus
4
  Plugin URI: http://yrnxt.com/wordpress/featured-video-plus/
5
  Description: Add Featured Videos to your posts and pages.
6
+ Version: 2.3.2
7
  Author: Alexander Höreth
8
  Author URI: http://yrnxt.com
9
  Text Domain: featured-video-plus
32
  // ********************
33
  // CONSTANTS
34
  if ( ! defined( 'FVP_VERSION' ) ) {
35
+ define( 'FVP_VERSION', '2.3.2' );
36
  }
37
 
38
  $pathinfo = pathinfo( dirname( plugin_basename( __FILE__ ) ) );
lng/featured-video-plus.pot CHANGED
File without changes
php/class-backend.php CHANGED
@@ -191,7 +191,7 @@ class FVP_Backend extends Featured_Video_Plus {
191
  'display' => $has_invalid_video ? 'block' : 'none',
192
  ), true, true ),
193
  esc_html__(
194
- 'The inserted value is illegal. You might want to manually enable raw HTML embeds in the media settings.',
195
  'featured-video-plus'
196
  )
197
  );
@@ -389,7 +389,7 @@ class FVP_Backend extends Featured_Video_Plus {
389
  $provider = 'raw';
390
  } else {
391
  $v = $this->oembed->request( $video );
392
- if ( ! empty( $raw ) && ! empty( $raw->provider_name ) ) {
393
  $provider = strtolower( $v->provider_name );
394
 
395
  $data = array(
191
  'display' => $has_invalid_video ? 'block' : 'none',
192
  ), true, true ),
193
  esc_html__(
194
+ 'Could not resolve the inserted value to a video. Are you sure it is a legal video url and the server can connect to its provider? If you tried to insert a raw embed code, you might need to enable it in the media settings.',
195
  'featured-video-plus'
196
  )
197
  );
389
  $provider = 'raw';
390
  } else {
391
  $v = $this->oembed->request( $video );
392
+ if ( ! empty( $v ) && ! empty( $v->provider_name ) ) {
393
  $provider = strtolower( $v->provider_name );
394
 
395
  $data = array(
readme.txt CHANGED
@@ -10,7 +10,7 @@ License: GPL-2.0
10
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
11
  Requires at least: 3.7
12
  Tested up to: 4.7
13
- Stable tag: 2.3.1
14
 
15
  Add Featured Videos to your posts and pages. Works like magic with most themes which use Featured Images. Local Media, YouTube, Vimeo and many more.
16
 
@@ -112,8 +112,11 @@ Yes, please! Check out the official [Featured Video Plus Translation Project](ht
112
 
113
  == Changelog ==
114
 
 
 
 
115
  = 2.3.1: 2016-12-16 =
116
- * Quick fix 'are you sure' error on post creation. ([*](https://wordpress.org/support/topic/latest-update-causing-error/), [*](https://wordpress.org/support/topic/error-are-you-sure-you-want-to-do-this-3/))
117
 
118
  = 2.3.0: 2016-12-15 =
119
  * Now compatible with [Video SEO](https://yoast.com/wordpress/plugins/video-seo/)! ([*](https://wordpress.org/support/topic/compatibility-with-video-seo), [*](https://wordpress.org/support/topic/video-seo-featured-video-plus-compatability), [*](https://wordpress.org/support/topic/fantastic-a-must-have-for-all-video-sites))
10
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
11
  Requires at least: 3.7
12
  Tested up to: 4.7
13
+ Stable tag: 2.3.2
14
 
15
  Add Featured Videos to your posts and pages. Works like magic with most themes which use Featured Images. Local Media, YouTube, Vimeo and many more.
16
 
112
 
113
  == Changelog ==
114
 
115
+ = 2.3.2: 2016-12-16 =
116
+ * Quick fix for *illegal video* message when using oEmbed. ([*](https://wordpress.org/support/topic/illegal-warning-displays-on-youtube-videos-2/), [*](https://wordpress.org/support/topic/illegal-warning-displays-on-youtube-videos/))
117
+
118
  = 2.3.1: 2016-12-16 =
119
+ * Quick fix for *are you sure* error on post creation. ([*](https://wordpress.org/support/topic/latest-update-causing-error/), [*](https://wordpress.org/support/topic/error-are-you-sure-you-want-to-do-this-3/))
120
 
121
  = 2.3.0: 2016-12-15 =
122
  * Now compatible with [Video SEO](https://yoast.com/wordpress/plugins/video-seo/)! ([*](https://wordpress.org/support/topic/compatibility-with-video-seo), [*](https://wordpress.org/support/topic/video-seo-featured-video-plus-compatability), [*](https://wordpress.org/support/topic/fantastic-a-must-have-for-all-video-sites))
uninstall.php CHANGED
File without changes