WP Meta SEO - Version 3.7.2

Version Description

  • Fix : Jutranslation share with JoomUnited
Download this release

Release Info

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

Code changes from version 3.7.1 to 3.7.2

inc/class.metaseo-opengraph.php CHANGED
@@ -545,7 +545,7 @@ class MetaSeoOpenGraph
545
  ($meta_title_esc != '' ? true : false))
546
  );
547
 
548
- if (!empty($settings['metaseo_follow'])) {
549
  $patterns['follow'] = array(
550
  '#<meta name="robots" [^<>]+ ?>#i',
551
  '<meta name="robots" content="' . $page_index . ',' . $page_follow . '" />'
545
  ($meta_title_esc != '' ? true : false))
546
  );
547
 
548
+ if (!empty($settings['metaseo_follow']) || !empty($settings['metaseo_index'])) {
549
  $patterns['follow'] = array(
550
  '#<meta name="robots" [^<>]+ ?>#i',
551
  '<meta name="robots" content="' . $page_index . ',' . $page_follow . '" />'
jutranslation/assets/js/jutranslation.js CHANGED
@@ -384,10 +384,10 @@ jQuery(document).ready(function($){
384
  e.preventDefault();
385
  if(typeof SqueezeBox !== 'undefined' ){
386
  //Open Joomla lightbox
387
- SqueezeBox.open(jutranslation.base_url + 'action=&task=jutranslation.showViewForm&language=' + $(this).closest('tr').attr('data-lang'), {handler: 'iframe'});
388
  }else{
389
  //Open Wordpress lightbox
390
- tb_show('Share with Joomunited',jutranslation.base_url + 'action=' + jutranslation.ajax_action + '&task=jutranslation.showViewForm&slug=' + $(this).closest('tr').attr('data-slug') + '&language=' + $(this).closest('tr').attr('data-lang') + '&TB_iframe=true');
391
  }
392
  });
393
 
384
  e.preventDefault();
385
  if(typeof SqueezeBox !== 'undefined' ){
386
  //Open Joomla lightbox
387
+ SqueezeBox.open(jutranslation.base_url + 'action=&task=jutranslation.showViewForm&wp_nonce='+jutranslation.token+'&language=' + $(this).closest('tr').attr('data-lang'), {handler: 'iframe'});
388
  }else{
389
  //Open Wordpress lightbox
390
+ tb_show('Share with Joomunited',jutranslation.base_url + 'action=' + jutranslation.ajax_action + '&task=jutranslation.showViewForm&wp_nonce='+jutranslation.token+'&slug=' + $(this).closest('tr').attr('data-slug') + '&language=' + $(this).closest('tr').attr('data-lang') + '&TB_iframe=true');
391
  }
392
  });
393
 
jutranslation/jutranslation.php CHANGED
@@ -676,11 +676,12 @@ class Jutranslation
676
  echo '<input type="hidden" name="extension" value="' . esc_attr($addons[$plugin]->extension_slug) . '" />';
677
  echo '<input type="hidden" name="extension_language" value="' . esc_attr($language) . '" />';
678
  echo '<input type="hidden" name="extension_version" value="' . esc_attr($version) . '" />';
679
- echo '<textarea style="display: none" name="strings">' . esc_html($strings) . '</textarea>';
 
680
  echo '</form>';
681
  //Add waiting image
682
  echo '<div style="text-align:center"><img src="' .
683
- esc_attr(plugin_dir_url(self::$main_plugin_file) . 'jutranslation/assets/images/preview_loader.gif"') .'</div>';
684
 
685
  //Submit automatically the form on page loading
686
  echo '<script type="text/javascript">document.forms[0].submit();</script>';
676
  echo '<input type="hidden" name="extension" value="' . esc_attr($addons[$plugin]->extension_slug) . '" />';
677
  echo '<input type="hidden" name="extension_language" value="' . esc_attr($language) . '" />';
678
  echo '<input type="hidden" name="extension_version" value="' . esc_attr($version) . '" />';
679
+ // phpcs:ignore WordPress.XSS.EscapeOutput -- Value wrong
680
+ echo '<textarea style="display: none" name="strings">' . htmlentities($strings) . '</textarea>';
681
  echo '</form>';
682
  //Add waiting image
683
  echo '<div style="text-align:center"><img src="' .
684
+ esc_attr(plugin_dir_url(self::$main_plugin_file)) . 'jutranslation/assets/images/preview_loader.gif"></div>';
685
 
686
  //Submit automatically the form on page loading
687
  echo '<script type="text/javascript">document.forms[0].submit();</script>';
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: 4.9.6
6
- Stable tag: 3.7.1
7
  Requires PHP: 5.3
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
@@ -276,6 +276,9 @@ Yes WP Meta SEO is compatible with Gutenberg editor since 3.7 version.
276
 
277
  == Changelog ==
278
 
 
 
 
279
  = 3.7.1 =
280
  * Fix : Sitemap categories not properly added
281
  * Fix : Broken link display column header
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: 4.9.6
6
+ Stable tag: 3.7.2
7
  Requires PHP: 5.3
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
276
 
277
  == Changelog ==
278
 
279
+ = 3.7.2 =
280
+ * Fix : Jutranslation share with JoomUnited
281
+
282
  = 3.7.1 =
283
  * Fix : Sitemap categories not properly added
284
  * Fix : Broken link display column header
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: 3.7.1
8
  * Text Domain: wp-meta-seo
9
  * Domain Path: /languages
10
  * Author: JoomUnited
@@ -99,7 +99,7 @@ if (!defined('WPMSEO_VERSION')) {
99
  /**
100
  * plugin version
101
  */
102
- define('WPMSEO_VERSION', '3.7.1');
103
  }
104
 
105
  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: 3.7.2
8
  * Text Domain: wp-meta-seo
9
  * Domain Path: /languages
10
  * Author: JoomUnited
99
  /**
100
  * plugin version
101
  */
102
+ define('WPMSEO_VERSION', '3.7.2');
103
  }
104
 
105
  if (!defined('WPMS_CLIENTID')) {