Version Description
- Fix : Saving translation does not apply
- Fix : JS error when edit a post (public false)
Download this release
Release Info
Developer | JoomUnited |
Plugin | WP Meta SEO |
Version | 3.6.2 |
Comparing to | |
See all releases |
Code changes from version 3.6.1 to 3.6.2
- inc/class.metaseo-metabox.php +1 -1
- js/cliffpyles.js +3 -0
- js/wp-metaseo-metabox.js +3 -0
- jutranslation/assets/js/jutranslation.js +3 -3
- languages/wp-meta-seo-en_US.mo +0 -0
- readme.txt +6 -2
- wp-meta-seo.php +2 -2
inc/class.metaseo-metabox.php
CHANGED
@@ -30,7 +30,6 @@ class WPMSEOMetabox extends WPMSEOMeta
|
|
30 |
public function __construct()
|
31 |
{
|
32 |
add_action('add_meta_boxes', array($this, 'addMetaBox'));
|
33 |
-
add_action('admin_enqueue_scripts', array($this, 'metaseoEnqueue'));
|
34 |
add_action('wp_insert_post', array($this, 'savePostData'));
|
35 |
add_action('edit_attachment', array($this, 'savePostData'));
|
36 |
add_action('add_attachment', array($this, 'savePostData'));
|
@@ -335,6 +334,7 @@ class WPMSEOMetabox extends WPMSEOMeta
|
|
335 |
*/
|
336 |
public function metaBox()
|
337 |
{
|
|
|
338 |
$post = $this->getMetaboxPost();
|
339 |
$default_settings = array(
|
340 |
"metaseo_title_home" => "",
|
30 |
public function __construct()
|
31 |
{
|
32 |
add_action('add_meta_boxes', array($this, 'addMetaBox'));
|
|
|
33 |
add_action('wp_insert_post', array($this, 'savePostData'));
|
34 |
add_action('edit_attachment', array($this, 'savePostData'));
|
35 |
add_action('add_attachment', array($this, 'savePostData'));
|
334 |
*/
|
335 |
public function metaBox()
|
336 |
{
|
337 |
+
$this->metaseoEnqueue();
|
338 |
$post = $this->getMetaboxPost();
|
339 |
$default_settings = array(
|
340 |
"metaseo_title_home" => "",
|
js/cliffpyles.js
CHANGED
@@ -2,6 +2,9 @@ jQuery(document).ready(function ($) {
|
|
2 |
var $pc = $('#progressController');
|
3 |
var $pCaption = $('.metaseo-progress-bar p');
|
4 |
var iProgress = document.getElementById('inactiveProgress');
|
|
|
|
|
|
|
5 |
var aProgress = document.getElementById('activeProgress');
|
6 |
var iProgressCTX = iProgress.getContext('2d');
|
7 |
var mcheck = 0;
|
2 |
var $pc = $('#progressController');
|
3 |
var $pCaption = $('.metaseo-progress-bar p');
|
4 |
var iProgress = document.getElementById('inactiveProgress');
|
5 |
+
if (iProgress === null) {
|
6 |
+
return;
|
7 |
+
}
|
8 |
var aProgress = document.getElementById('activeProgress');
|
9 |
var iProgressCTX = iProgress.getContext('2d');
|
10 |
var mcheck = 0;
|
js/wp-metaseo-metabox.js
CHANGED
@@ -88,6 +88,9 @@ function msAjaxReplaceVariables(replaceableVar, callback) {
|
|
88 |
function msUpdateTitle(force) {
|
89 |
var title = '';
|
90 |
var titleElm = jQuery('#' + wpmseoMetaboxL10n.field_prefix + 'title');
|
|
|
|
|
|
|
91 |
var titleLengthError = jQuery('#' + wpmseoMetaboxL10n.field_prefix + 'title-length-warning');
|
92 |
var divHtml = jQuery('<div />');
|
93 |
var snippetTitle = jQuery('#wpmseosnippet_title');
|
88 |
function msUpdateTitle(force) {
|
89 |
var title = '';
|
90 |
var titleElm = jQuery('#' + wpmseoMetaboxL10n.field_prefix + 'title');
|
91 |
+
if (!titleElm.length) {
|
92 |
+
return;
|
93 |
+
}
|
94 |
var titleLengthError = jQuery('#' + wpmseoMetaboxL10n.field_prefix + 'title-length-warning');
|
95 |
var divHtml = jQuery('<div />');
|
96 |
var snippetTitle = jQuery('#wpmseosnippet_title');
|
jutranslation/assets/js/jutranslation.js
CHANGED
@@ -3,7 +3,7 @@ var joomunited_url = 'https://www.joomunited.com/';
|
|
3 |
jQuery(document).ready(function($){
|
4 |
// Define jutranslation_ajax_action if doesn't exist
|
5 |
if (typeof jutranslation_ajax_action === 'undefined') {
|
6 |
-
|
7 |
}
|
8 |
|
9 |
//Load the available version from Joomunited
|
@@ -38,9 +38,9 @@ jQuery(document).ready(function($){
|
|
38 |
break;
|
39 |
case -1:
|
40 |
if (julanguage.versions[this.language]) {
|
41 |
-
|
42 |
} else {
|
43 |
-
|
44 |
}
|
45 |
|
46 |
html = 'There is a new version of language file available v' + this.extension_version + ' rev'+this.revision + ' <a class="jutranslation-install" href="#" data-extension="' + this.extension + '" data-id="' + this.id + '">' + install_update + '</a>';
|
3 |
jQuery(document).ready(function($){
|
4 |
// Define jutranslation_ajax_action if doesn't exist
|
5 |
if (typeof jutranslation_ajax_action === 'undefined') {
|
6 |
+
jutranslation_ajax_action='';
|
7 |
}
|
8 |
|
9 |
//Load the available version from Joomunited
|
38 |
break;
|
39 |
case -1:
|
40 |
if (julanguage.versions[this.language]) {
|
41 |
+
install_update = 'Update';
|
42 |
} else {
|
43 |
+
install_update = 'Install';
|
44 |
}
|
45 |
|
46 |
html = 'There is a new version of language file available v' + this.extension_version + ' rev'+this.revision + ' <a class="jutranslation-install" href="#" data-extension="' + this.extension + '" data-id="' + this.id + '">' + install_update + '</a>';
|
languages/wp-meta-seo-en_US.mo
CHANGED
Binary file
|
readme.txt
CHANGED
@@ -2,8 +2,8 @@
|
|
2 |
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 |
-
Stable tag: 3.6.
|
7 |
Requires PHP: 5.3
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
@@ -272,6 +272,10 @@ It could be! if you have a lot of pages that need to be indexed with no specific
|
|
272 |
|
273 |
== Changelog ==
|
274 |
|
|
|
|
|
|
|
|
|
275 |
= 3.6.1 =
|
276 |
* Fix : Fatal error on frontend on certain configuration
|
277 |
|
2 |
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.1
|
6 |
+
Stable tag: 3.6.2
|
7 |
Requires PHP: 5.3
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
272 |
|
273 |
== Changelog ==
|
274 |
|
275 |
+
= 3.6.2 =
|
276 |
+
* Fix : Saving translation does not apply
|
277 |
+
* Fix : JS error when edit a post (public false)
|
278 |
+
|
279 |
= 3.6.1 =
|
280 |
* Fix : Fatal error on frontend on certain configuration
|
281 |
|
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.6.
|
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.6.
|
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.6.2
|
8 |
* Text Domain: wp-meta-seo
|
9 |
* Domain Path: /languages
|
10 |
* Author: JoomUnited
|
99 |
/**
|
100 |
* plugin version
|
101 |
*/
|
102 |
+
define('WPMSEO_VERSION', '3.6.2');
|
103 |
}
|
104 |
|
105 |
if (!defined('WPMS_CLIENTID')) {
|