SEOPress - Version 2.1.2

Version Description

  • FIX Notice: Undefined variable: seopress_social_og_type in wp-content/plugins/wp-seopress/inc/functions/options-social.php on line 392
  • FIX Fatal Error with Recipes Rich Snippet (PRO Only)
Download this release

Release Info

Developer rainbowgeek
Plugin Icon 128x128 SEOPress
Version 2.1.2
Comparing to
See all releases

Code changes from version 2.1.1 to 2.1.2

Files changed (3) hide show
  1. inc/functions/options-social.php +1 -1
  2. readme.txt +1 -1
  3. seopress.php +2 -2
inc/functions/options-social.php CHANGED
@@ -389,7 +389,7 @@ function seopress_social_facebook_og_type_hook() {
389
  elseif (is_search() || is_archive() || is_404()) {
390
  $seopress_social_og_type = '<meta property="og:type" content="object" />';
391
  }
392
- if ($seopress_social_og_type !='') {
393
  echo $seopress_social_og_type."\n";
394
  }
395
  }
389
  elseif (is_search() || is_archive() || is_404()) {
390
  $seopress_social_og_type = '<meta property="og:type" content="object" />';
391
  }
392
+ if (isset($seopress_social_og_type)) {
393
  echo $seopress_social_og_type."\n";
394
  }
395
  }
readme.txt CHANGED
@@ -1 +1 @@
1
- === WordPress SEO Plugin, SEOPress ===
1
+ === WordPress SEO Plugin, SEOPress ===
seopress.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: SEOPress
4
  Plugin URI: https://www.seopress.org/
5
  Description: The best SEO plugin.
6
- Version: 2.1.1
7
  Author: Benjamin DENIS
8
  Author URI: https://www.seopress.org/
9
  License: GPLv2
@@ -55,7 +55,7 @@ register_deactivation_hook(__FILE__, 'seopress_deactivation');
55
  //Define
56
  ///////////////////////////////////////////////////////////////////////////////////////////////////
57
 
58
- define( 'SEOPRESS_VERSION', '2.1.1' );
59
  define( 'SEOPRESS_AUTHOR', 'Benjamin Denis' );
60
 
61
  ///////////////////////////////////////////////////////////////////////////////////////////////////
3
  Plugin Name: SEOPress
4
  Plugin URI: https://www.seopress.org/
5
  Description: The best SEO plugin.
6
+ Version: 2.1.2
7
  Author: Benjamin DENIS
8
  Author URI: https://www.seopress.org/
9
  License: GPLv2
55
  //Define
56
  ///////////////////////////////////////////////////////////////////////////////////////////////////
57
 
58
+ define( 'SEOPRESS_VERSION', '2.1.2' );
59
  define( 'SEOPRESS_AUTHOR', 'Benjamin Denis' );
60
 
61
  ///////////////////////////////////////////////////////////////////////////////////////////////////