WP Meta SEO - Version 4.0.8

Version Description

  • Fix : Check version requirements
Download this release

Release Info

Developer JoomUnited
Plugin Icon 128x128 WP Meta SEO
Version 4.0.8
Comparing to
See all releases

Code changes from version 4.0.7 to 4.0.8

languages/wp-meta-seo-en_US.mo CHANGED
Binary file
readme.txt CHANGED
@@ -3,7 +3,7 @@ Contributors: JoomUnited
3
  Tags: google, webmaster tools, keywords, meta, meta description, meta keywords, meta title, robots meta, search engine optimization, seo, wordpress seo, yahoo, image optimization, image resize, custom post seo, redirect, redirection, 301, broken link
4
  Requires at least: 4.0
5
  Tested up to: 5.2.2
6
- Stable tag: 4.0.7
7
  Requires PHP: 5.3
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
@@ -258,6 +258,9 @@ Yes WP Meta SEO is compatible with Gutenberg editor since 3.7 version.
258
 
259
  == Changelog ==
260
 
 
 
 
261
  = 4.0.7 =
262
  * Add : Link editor & Image editor compatible with Gutenberg blocks
263
  * Fix : The sitemap generated ignore anchor links
3
  Tags: google, webmaster tools, keywords, meta, meta description, meta keywords, meta title, robots meta, search engine optimization, seo, wordpress seo, yahoo, image optimization, image resize, custom post seo, redirect, redirection, 301, broken link
4
  Requires at least: 4.0
5
  Tested up to: 5.2.2
6
+ Stable tag: 4.0.8
7
  Requires PHP: 5.3
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
258
 
259
  == Changelog ==
260
 
261
+ = 4.0.8 =
262
+ * Fix : Check version requirements
263
+
264
  = 4.0.7 =
265
  * Add : Link editor & Image editor compatible with Gutenberg blocks
266
  * Fix : The sitemap generated ignore anchor links
requirements.php CHANGED
@@ -373,6 +373,12 @@ class JUCheckRequirements
373
  self::$loadAddons[] = $addonName;
374
  }
375
  }
 
 
 
 
 
 
376
  }
377
  }
378
  }
@@ -493,17 +499,6 @@ class JUCheckRequirements
493
  */
494
  private static function versionCompare($version1, $operator, $version2)
495
  {
496
- $_fv = intval(trim(str_replace('.', '', $version1)));
497
- $_sv = intval(trim(str_replace('.', '', $version2)));
498
-
499
- if (strlen($_fv) > strlen($_sv)) {
500
- $_sv = str_pad($_sv, strlen($_fv), 0);
501
- }
502
-
503
- if (strlen($_fv) < strlen($_sv)) {
504
- $_fv = str_pad($_fv, strlen($_sv), 0);
505
- }
506
-
507
- return version_compare((string) $_fv, (string) $_sv, $operator);
508
  }
509
  }
373
  self::$loadAddons[] = $addonName;
374
  }
375
  }
376
+
377
+ // Fix for developer
378
+ if (isset($addonData['Version']) && strpos($addonData['Version'], '{{version') === 0) {
379
+ // Load addons
380
+ self::$loadAddons[] = $addonName;
381
+ }
382
  }
383
  }
384
  }
499
  */
500
  private static function versionCompare($version1, $operator, $version2)
501
  {
502
+ return version_compare((string) $version1, (string) $version2, $operator);
 
 
 
 
 
 
 
 
 
 
 
503
  }
504
  }
wp-meta-seo.php CHANGED
@@ -4,7 +4,7 @@
4
  * Plugin Name: WP Meta SEO
5
  * Plugin URI: http://www.joomunited.com/wordpress-products/wp-meta-seo
6
  * Description: WP Meta SEO is a plugin for WordPress to fill meta for content, images and main SEO info in a single view.
7
- * Version: 4.0.7
8
  * Text Domain: wp-meta-seo
9
  * Domain Path: /languages
10
  * Author: JoomUnited
@@ -121,7 +121,7 @@ if (!defined('WPMSEO_VERSION')) {
121
  /**
122
  * Plugin version
123
  */
124
- define('WPMSEO_VERSION', '4.0.7');
125
  }
126
 
127
  if (!defined('WPMS_CLIENTID')) {
4
  * Plugin Name: WP Meta SEO
5
  * Plugin URI: http://www.joomunited.com/wordpress-products/wp-meta-seo
6
  * Description: WP Meta SEO is a plugin for WordPress to fill meta for content, images and main SEO info in a single view.
7
+ * Version: 4.0.8
8
  * Text Domain: wp-meta-seo
9
  * Domain Path: /languages
10
  * Author: JoomUnited
121
  /**
122
  * Plugin version
123
  */
124
+ define('WPMSEO_VERSION', '4.0.8');
125
  }
126
 
127
  if (!defined('WPMS_CLIENTID')) {