WP Meta SEO - Version 4.3.7

Version Description

  • Fix : The header title issue on some themes
Download this release

Release Info

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

Code changes from version 4.3.6 to 4.3.7

assets/js/cliffpyles.js CHANGED
@@ -18,7 +18,7 @@ jQuery(document).ready(function ($) {
18
  mcontent = wpmscliffpyles.post_content;
19
  } else {
20
  title = $('.editor-post-title__input').val();
21
- if (typeof wp.data !== "undefined" && typeof wp.data.select('core/editor') !== "undefined") {
22
  mcontent = wp.data.select('core/editor').getEditedPostContent();
23
  }
24
  }
18
  mcontent = wpmscliffpyles.post_content;
19
  } else {
20
  title = $('.editor-post-title__input').val();
21
+ if (typeof wp.data !== "undefined" && typeof wp.data.select('core/editor') !== "undefined" && wp.data.select('core/editor') !== null) {
22
  mcontent = wp.data.select('core/editor').getEditedPostContent();
23
  }
24
  }
assets/js/dashboard_widgets.js CHANGED
@@ -238,7 +238,7 @@ jQuery(document).ready(function ($) {
238
  });
239
  }
240
 
241
- tippy('.wpms_dash_widgets', {
242
  animation: 'scale',
243
  duration: 0,
244
  arrow: false,
@@ -248,5 +248,5 @@ jQuery(document).ready(function ($) {
248
  instance.popper.hidden = instance.reference.dataset.tippy ? false : true;
249
  instance.setContent(instance.reference.dataset.tippy);
250
  }
251
- });
252
  });
238
  });
239
  }
240
 
241
+ /*tippy('.wpms_dash_widgets', {
242
  animation: 'scale',
243
  duration: 0,
244
  arrow: false,
248
  instance.popper.hidden = instance.reference.dataset.tippy ? false : true;
249
  instance.setContent(instance.reference.dataset.tippy);
250
  }
251
+ });*/
252
  });
assets/js/wp-metaseo-metabox.js CHANGED
@@ -300,7 +300,7 @@ var replacedVars = []; // jshint ignore:line
300
  var wpmsdivtitle = '';
301
  jQuery(document).ready(function ($) {
302
  // title
303
- if (typeof wp.blocks !== "undefined") {
304
  wpmsdivtitle = '.editor-post-title__input';
305
  } else {
306
  wpmsdivtitle = '#title';
@@ -519,7 +519,6 @@ jQuery(document).ready(function ($) {
519
 
520
  if (isSavingPost && !isAutosavingPost) {
521
  wpms_filter_search_keywords();
522
- /*console.log(23);*/
523
  }
524
  });
525
  }
300
  var wpmsdivtitle = '';
301
  jQuery(document).ready(function ($) {
302
  // title
303
+ if (typeof wp.blocks !== "undefined" && wp.data.select('core/editor') !== null) {
304
  wpmsdivtitle = '.editor-post-title__input';
305
  } else {
306
  wpmsdivtitle = '#title';
519
 
520
  if (isSavingPost && !isAutosavingPost) {
521
  wpms_filter_search_keywords();
 
522
  }
523
  });
524
  }
assets/js/wpms-seokeyword-metabox.js CHANGED
@@ -4,7 +4,7 @@
4
  class wpmsSpecificKeywords {
5
  constructor() {
6
  this.title = null;
7
- this.content = null
8
  this.tagsElement = $('#metaseo_wpmseo_specific_keywords');
9
  this.metaTitleElement = $('#metaseo_wpmseo_title');
10
  this.metaDescElement = $('#metaseo_wpmseo_desc');
@@ -12,9 +12,9 @@
12
  this.resultAnalytics = null;
13
 
14
  // Function
15
- this.editPost = this.editPost.on(this);
16
  this.init = this.init.on(this);
17
- this.replaceVariables = this.replaceVariables.on(this)
18
  }
19
 
20
  init = () => {
@@ -25,7 +25,7 @@
25
  }
26
 
27
  bindEvents = () => {
28
- if (typeof wp.blocks !== "undefined") {
29
  this.title = select('core/editor').getEditedPostAttribute('title');
30
  this.content = select('core/editor').getEditedPostAttribute('content');
31
  } else {
@@ -250,7 +250,7 @@
250
  subscribe(() => {
251
 
252
  // Title changes
253
- const newTitle = select('core/editor').getEditedPostAttribute('title');
254
  if (newTitle !== undefined && this.data.title === null) {
255
  this.data.title = newTitle;
256
  }
@@ -260,7 +260,7 @@
260
  }
261
 
262
  // Content changed
263
- const newContent = select('core/editor').getEditedPostAttribute('content');
264
  if (newContent !== undefined && this.data.content === null) {
265
  this.data.content = newContent;
266
  }
@@ -320,7 +320,7 @@
320
 
321
  $(document).ajaxComplete(function (event, request, settings) {
322
  if (typeof settings.data !== "undefined" && settings.data.includes('action=wpms&task=reload_analysis')) {
323
- if (typeof wp.blocks !== "undefined") {
324
  new WpmsGutenbergSwitcher().init();
325
  } else {
326
  new WpmsClassicEditorSwitcher().init();
4
  class wpmsSpecificKeywords {
5
  constructor() {
6
  this.title = null;
7
+ this.content = null;
8
  this.tagsElement = $('#metaseo_wpmseo_specific_keywords');
9
  this.metaTitleElement = $('#metaseo_wpmseo_title');
10
  this.metaDescElement = $('#metaseo_wpmseo_desc');
12
  this.resultAnalytics = null;
13
 
14
  // Function
15
+ /*this.editPost = this.editPost.on(this);
16
  this.init = this.init.on(this);
17
+ this.replaceVariables = this.replaceVariables.on(this)*/
18
  }
19
 
20
  init = () => {
25
  }
26
 
27
  bindEvents = () => {
28
+ if (typeof wp.blocks !== "undefined" && select('core/editor') !== null) {
29
  this.title = select('core/editor').getEditedPostAttribute('title');
30
  this.content = select('core/editor').getEditedPostAttribute('content');
31
  } else {
250
  subscribe(() => {
251
 
252
  // Title changes
253
+ const newTitle = (select('core/editor') !== null) ? select('core/editor').getEditedPostAttribute('title') : undefined;
254
  if (newTitle !== undefined && this.data.title === null) {
255
  this.data.title = newTitle;
256
  }
260
  }
261
 
262
  // Content changed
263
+ const newContent = (select('core/editor') !== null) ? select('core/editor').getEditedPostAttribute('content') : undefined;
264
  if (newContent !== undefined && this.data.content === null) {
265
  this.data.content = newContent;
266
  }
320
 
321
  $(document).ajaxComplete(function (event, request, settings) {
322
  if (typeof settings.data !== "undefined" && settings.data.includes('action=wpms&task=reload_analysis')) {
323
+ if (typeof wp.blocks !== "undefined" && select('core/editor') !== null) {
324
  new WpmsGutenbergSwitcher().init();
325
  } else {
326
  new WpmsClassicEditorSwitcher().init();
assets/js/wpms-seokeyword-metabox.min.js CHANGED
@@ -1 +1 @@
1
- !function(t){function e(i){if(n[i])return n[i].exports;var o=n[i]={i:i,l:!1,exports:{}};return t[i].call(o.exports,o,o.exports,e),o.l=!0,o.exports}var n={};e.m=t,e.c=n,e.d=function(t,n,i){e.o(t,n)||Object.defineProperty(t,n,{configurable:!1,enumerable:!0,get:i})},e.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(n,"a",n),n},e.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},e.p="",e(e.s=0)}([function(t,e){function n(t,e){return r(t)||s(t,e)||o(t,e)||i()}function i(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function o(t,e){if(t){if("string"==typeof t)return a(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?a(t,e):void 0}}function a(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}function s(t,e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(t)){var n=[],i=!0,o=!1,a=void 0;try{for(var s,r=t[Symbol.iterator]();!(i=(s=r.next()).done)&&(n.push(s.value),!e||n.length!==e);i=!0);}catch(t){o=!0,a=t}finally{try{i||null==r.return||r.return()}finally{if(o)throw a}}return n}}function r(t){if(Array.isArray(t))return t}!function(t,e){var i=t.select,o=t.subscribe,a=function(){var t=this;this.init=function(){t.bindEvents(),t.tagsElement.bind("itemAdded itemRemoved",t.bindEvents),t.metaTitleElement.bind("keyup",t.bindEvents),t.metaDescElement.bind("keyup",t.bindEvents)},this.bindEvents=function(){void 0!==wp.blocks?(t.title=i("core/editor").getEditedPostAttribute("title"),t.content=i("core/editor").getEditedPostAttribute("content")):(t.title=e("#title").val(),"undefined"!=typeof tinyMCE&&null!==tinyMCE.get("content")?t.content=tinyMCE.editors.content.getContent():t.content=e("#content").val()),t.listTags=t.tagsElement.tagsinput("items"),t.analytics()},this.editPost=function(e){void 0!==e&&(t.title=e.title,t.content=e.content),t.listTags=t.tagsElement.tagsinput("items"),t.analytics()},this.analytics=function(){if(t.resultAnalytics={keyInTitle:t.collectKeywordsInTitle(),keyInContent:t.collectKeywordsInContent(),keyInContentHeading:t.collectKeywordsInHeading(),keyInMetaTitle:t.collectKeywordsInMetaTitle(),keyInMetaDescription:t.collectKeywordsInMetaDesc()},null!==t.resultAnalytics){var e=!1;Object.entries(t.resultAnalytics).forEach(function(i){var o=n(i,2),a=o[0],s=o[1];s&&(e=!0),t.changeAnalyticsInfo(a,s)}),t.editAnalyticsInfo(e)}},this.editAnalyticsInfo=function(n){if(""===e("input#metaseo_wpmseo_specific_keywords").val())return e('div.metaseo_analysis[data-title="seokeyword"]').hide(),e(".seokeyword-information").hide(),e('input.wpms_analysis_hidden[name="wpms[seokeyword]"]').val(0),t.reDrawInactive(7),!1;e('div.metaseo_analysis[data-title="seokeyword"]').show(),e(".seokeyword-information").show(),n?(e('div.metaseo_analysis[data-title="seokeyword"]').find("i").removeClass("icons-mboxwarning").addClass("icons-mboxdone").html("done"),e('input.wpms_analysis_hidden[name="wpms[seokeyword]"]').val(1)):(e('div.metaseo_analysis[data-title="seokeyword"]').find("i").removeClass("icons-mboxdone").addClass("icons-mboxwarning").html("error_outline"),e('input.wpms_analysis_hidden[name="wpms[seokeyword]"]').val(0)),t.reDrawInactive(8)},this.reDrawInactive=function(t){for(var n=e(".panel-left .wpms_analysis_hidden"),i=0,o=0;o<n.length;o++)1==e(n[o]).val()&&i++;var a=Math.ceil(100*i/t);e("#wpmetaseo_seo_keywords_result").val(a),e(".metaseo-progress-bar").circleProgress("value",a/100).on("circle-animation-progress",function(t,n){e(this).find("strong").html(a+"<i>%</i>")})},this.changeAnalyticsInfo=function(t,n){n?(e('div.metaseo_analysis[data-title="'+t.toLowerCase()+'"]').find("i").removeClass("icons-mboxwarning").addClass("icons-mboxdone").html("done"),e('input.wpms_analysis_hidden[name="wpms['+t.toLowerCase()+']"]').val(1)):(e('div.metaseo_analysis[data-title="'+t.toLowerCase()+'"]').find("i").removeClass("icons-mboxdone").addClass("icons-mboxwarning").html("error_outline"),e('input.wpms_analysis_hidden[name="wpms['+t.toLowerCase()+']"]').val(0))},this.collectKeywordsInTitle=function(){var e={text:t.title},n=!1;return t.listTags.forEach(function(t,i){if(e.text.toLowerCase().includes(t.toLowerCase()))return n=!0}),n},this.collectKeywordsInContent=function(){var e={text:t.content},n=!1;return t.listTags.forEach(function(t,i){if(e.text.toLowerCase().includes(t.toLowerCase()))return n=!0}),n},this.collectKeywordsInHeading=function(){var e={text:t.content},n=!1;return t.listTags.forEach(function(t,i){var o=RegExp("<h[2-6][^>]*>.*"+t.toLowerCase()+".*</h[2-6]>","gi");if(null!=e.text.toLowerCase().match(o))return n=!0}),n},this.collectKeywordsInMetaTitle=function(){var e={text:t.replaceVariables(t.metaTitleElement.val())},n=!1;return t.listTags.forEach(function(t,i){if(e.text.toLowerCase().includes(t.toLowerCase()))return n=!0}),n},this.collectKeywordsInMetaDesc=function(){var e={text:t.replaceVariables(t.metaDescElement.val())},n=!1;return t.listTags.forEach(function(t,i){if(e.text.toLowerCase().includes(t.toLowerCase()))return n=!0}),n},this.replaceVariables=function(e){if(void 0!==e){t.title&&(e=e.replace(/%title%/g,t.title.replace(/(<([^>]+)>)/gi,""))),e=e.replace(/%id%/g,wpmseoMetaboxL10n.id),e=e.replace(/%date%/g,wpmseoMetaboxL10n.date),e=e.replace(/%sitedesc%/g,wpmseoMetaboxL10n.sitedesc),e=e.replace(/%sitename%/g,wpmseoMetaboxL10n.sitename),e=e.replace(/%sep%/g,wpmseoMetaboxL10n.sep),e=e.replace(/%page%/g,wpmseoMetaboxL10n.page),e=e.replace(/%currenttime%/g,wpmseoMetaboxL10n.currenttime),e=e.replace(/%currentdate%/g,wpmseoMetaboxL10n.currentdate),e=e.replace(/%currentday%/g,wpmseoMetaboxL10n.currentday),e=e.replace(/%currentmonth%/g,wpmseoMetaboxL10n.currentmonth),e=e.replace(/%currentyear%/g,wpmseoMetaboxL10n.currentyear);var n="";jQuery("#excerpt").length&&(n=msClean(jQuery("#excerpt").val().replace(/(<([^>]+)>)/gi,"")),e=e.replace(/%excerpt_only%/g,n)),""===n&&jQuery("#content").length&&(n=jQuery("#content").val().replace(/(<([^>]+)>)/gi,"").substring(0,wpmseoMetaboxL10n.wpmseo_meta_desc_length-1)),e=e.replace(/%excerpt%/g,n),jQuery("#parent_id").length&&jQuery("#parent_id option:selected").text()!==wpmseoMetaboxL10n.no_parent_text&&(e=e.replace(/%parent_title%/g,jQuery("#parent_id option:selected").text()));var i=wpmseoMetaboxL10n.sep.replace(/[\-\[\]\/\{}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&"),o=new RegExp(i+" "+i,"g");return e=e.replace(o,wpmseoMetaboxL10n.sep)}},this.title=null,this.content=null,this.tagsElement=e("#metaseo_wpmseo_specific_keywords"),this.metaTitleElement=e("#metaseo_wpmseo_title"),this.metaDescElement=e("#metaseo_wpmseo_desc"),this.listTags=[],this.resultAnalytics=null,this.editPost=this.editPost.bind(this),this.init=this.init.bind(this),this.replaceVariables=this.replaceVariables.bind(this)},s=function(){var t=this;this.init=function(){o(function(){var e=i("core/editor").getEditedPostAttribute("title");void 0!==e&&null===t.data.title&&(t.data.title=e),void 0!==e&&e!==t.data.title&&(t.data.title=e,t.changeTitle());var n=i("core/editor").getEditedPostAttribute("content");void 0!==n&&null===t.data.content&&(t.data.content=n),void 0!==n&&n!==t.data.content&&(t.data.content=n,t.changeContent())})},this.changeTitle=function(){(new a).editPost(t.data)},this.changeContent=function(){(new a).editPost(t.data)},this.data={title:null,content:null}},r=function(){var t=this;this.init=function(){e("#title").on("keyup",t.changeTitle),"undefined"!=typeof tinyMCE&&null!==tinyMCE.get("content")?tinyMCE.get("content").on("keyup",t.changeContent):e("#content").on("keyup",t.changeContent)},this.getData=function(){t.data.title=e("#title").val(),"undefined"!=typeof tinyMCE&&null!==tinyMCE.get("content")?t.data.content=tinyMCE.editors.content.getContent():t.data.content=e("#content").val()},this.changeTitle=function(){t.getData(),(new a).editPost(t.data)},this.changeContent=function(){t.getData(),(new a).editPost(t.data)},this.data={title:null,content:null}};e(document).ajaxComplete(function(t,e,n){void 0!==n.data&&n.data.includes("action=wpms&task=reload_analysis")&&(void 0!==wp.blocks?(new s).init():(new r).init(),(new a).init())})}(wp.data,jQuery)}]);
1
+ !function(t){var e={};function n(i){if(e[i])return e[i].exports;var s=e[i]={i:i,l:!1,exports:{}};return t[i].call(s.exports,s,s.exports,n),s.l=!0,s.exports}n.m=t,n.c=e,n.d=function(t,e,i){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:i})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var s in t)n.d(i,s,function(e){return t[e]}.bind(null,s));return i},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=1)}([function(t,e){t.exports=function(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t},t.exports.default=t.exports,t.exports.__esModule=!0},function(t,e,n){"use strict";n.r(e);var i=n(0),s=n.n(i);!function(t,e){const{select:n,subscribe:i}=t;class o{constructor(){s()(this,"init",()=>{this.bindEvents(),this.tagsElement.on("itemAdded itemRemoved",this.bindEvents),this.metaTitleElement.on("keyup",this.bindEvents),this.metaDescElement.on("keyup",this.bindEvents)}),s()(this,"bindEvents",()=>{void 0!==wp.blocks&&null!==n("core/editor")?(this.title=n("core/editor").getEditedPostAttribute("title"),this.content=n("core/editor").getEditedPostAttribute("content")):(this.title=e("#title").val(),"undefined"!=typeof tinyMCE&&null!==tinyMCE.get("content")?this.content=tinyMCE.editors.content.getContent():this.content=e("#content").val()),this.listTags=this.tagsElement.tagsinput("items"),this.analytics()}),s()(this,"editPost",t=>{void 0!==t&&(this.title=t.title,this.content=t.content),this.listTags=this.tagsElement.tagsinput("items"),this.analytics()}),s()(this,"analytics",()=>{if(this.resultAnalytics={keyInTitle:this.collectKeywordsInTitle(),keyInContent:this.collectKeywordsInContent(),keyInContentHeading:this.collectKeywordsInHeading(),keyInMetaTitle:this.collectKeywordsInMetaTitle(),keyInMetaDescription:this.collectKeywordsInMetaDesc()},null!==this.resultAnalytics){let t=!1;Object.entries(this.resultAnalytics).forEach(e=>{const[n,i]=e;i&&(t=!0),this.changeAnalyticsInfo(n,i)}),this.editAnalyticsInfo(t)}}),s()(this,"editAnalyticsInfo",t=>{if(""===e("input#metaseo_wpmseo_specific_keywords").val())return e('div.metaseo_analysis[data-title="seokeyword"]').hide(),e(".seokeyword-information").hide(),e('input.wpms_analysis_hidden[name="wpms[seokeyword]"]').val(0),this.reDrawInactive(7),!1;e('div.metaseo_analysis[data-title="seokeyword"]').show(),e(".seokeyword-information").show(),t?(e('div.metaseo_analysis[data-title="seokeyword"]').find("i").removeClass("icons-mboxwarning").addClass("icons-mboxdone").html("done"),e('input.wpms_analysis_hidden[name="wpms[seokeyword]"]').val(1)):(e('div.metaseo_analysis[data-title="seokeyword"]').find("i").removeClass("icons-mboxdone").addClass("icons-mboxwarning").html("error_outline"),e('input.wpms_analysis_hidden[name="wpms[seokeyword]"]').val(0)),this.reDrawInactive(8)}),s()(this,"reDrawInactive",t=>{const n=e(".panel-left .wpms_analysis_hidden");let i=0;for(let t=0;t<n.length;t++)1==e(n[t]).val()&&i++;const s=Math.ceil(100*i/t);e("#wpmetaseo_seo_keywords_result").val(s),e(".metaseo-progress-bar").circleProgress("value",s/100).on("circle-animation-progress",(function(t,n){e(this).find("strong").html(s+"<i>%</i>")}))}),s()(this,"changeAnalyticsInfo",(t,n)=>{n?(e('div.metaseo_analysis[data-title="'+t.toLowerCase()+'"]').find("i").removeClass("icons-mboxwarning").addClass("icons-mboxdone").html("done"),e('input.wpms_analysis_hidden[name="wpms['+t.toLowerCase()+']"]').val(1)):(e('div.metaseo_analysis[data-title="'+t.toLowerCase()+'"]').find("i").removeClass("icons-mboxdone").addClass("icons-mboxwarning").html("error_outline"),e('input.wpms_analysis_hidden[name="wpms['+t.toLowerCase()+']"]').val(0))}),s()(this,"collectKeywordsInTitle",()=>{let t={text:this.title},e=!1;return this.listTags.forEach((function(n,i){if(t.text.toLowerCase().includes(n.toLowerCase()))return e=!0,e})),e}),s()(this,"collectKeywordsInContent",()=>{let t={text:this.content},e=!1;return this.listTags.forEach((function(n,i){if(t.text.toLowerCase().includes(n.toLowerCase()))return e=!0,e})),e}),s()(this,"collectKeywordsInHeading",()=>{let t={text:this.content},e=!1;return this.listTags.forEach((function(n,i){const s=RegExp("<h[2-6][^>]*>.*"+n.toLowerCase()+".*</h[2-6]>","gi");if(null!=t.text.toLowerCase().match(s))return e=!0,e})),e}),s()(this,"collectKeywordsInMetaTitle",()=>{let t={text:this.replaceVariables(this.metaTitleElement.val())},e=!1;return this.listTags.forEach((function(n,i){if(t.text.toLowerCase().includes(n.toLowerCase()))return e=!0,e})),e}),s()(this,"collectKeywordsInMetaDesc",()=>{let t={text:this.replaceVariables(this.metaDescElement.val())},e=!1;return this.listTags.forEach((function(n,i){if(t.text.toLowerCase().includes(n.toLowerCase()))return e=!0,e})),e}),s()(this,"replaceVariables",t=>{if(void 0===t)return;this.title&&(t=t.replace(/%title%/g,this.title.replace(/(<([^>]+)>)/gi,""))),t=(t=(t=(t=(t=(t=(t=(t=(t=(t=(t=t.replace(/%id%/g,wpmseoMetaboxL10n.id)).replace(/%date%/g,wpmseoMetaboxL10n.date)).replace(/%sitedesc%/g,wpmseoMetaboxL10n.sitedesc)).replace(/%sitename%/g,wpmseoMetaboxL10n.sitename)).replace(/%sep%/g,wpmseoMetaboxL10n.sep)).replace(/%page%/g,wpmseoMetaboxL10n.page)).replace(/%currenttime%/g,wpmseoMetaboxL10n.currenttime)).replace(/%currentdate%/g,wpmseoMetaboxL10n.currentdate)).replace(/%currentday%/g,wpmseoMetaboxL10n.currentday)).replace(/%currentmonth%/g,wpmseoMetaboxL10n.currentmonth)).replace(/%currentyear%/g,wpmseoMetaboxL10n.currentyear);let e="";jQuery("#excerpt").length&&(e=msClean(jQuery("#excerpt").val().replace(/(<([^>]+)>)/gi,"")),t=t.replace(/%excerpt_only%/g,e)),""===e&&jQuery("#content").length&&(e=jQuery("#content").val().replace(/(<([^>]+)>)/gi,"").substring(0,wpmseoMetaboxL10n.wpmseo_meta_desc_length-1)),t=t.replace(/%excerpt%/g,e),jQuery("#parent_id").length&&jQuery("#parent_id option:selected").text()!==wpmseoMetaboxL10n.no_parent_text&&(t=t.replace(/%parent_title%/g,jQuery("#parent_id option:selected").text()));const n=wpmseoMetaboxL10n.sep.replace(/[\-\[\]\/\{}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&"),i=new RegExp(n+" "+n,"g");return t.replace(i,wpmseoMetaboxL10n.sep)}),this.title=null,this.content=null,this.tagsElement=e("#metaseo_wpmseo_specific_keywords"),this.metaTitleElement=e("#metaseo_wpmseo_title"),this.metaDescElement=e("#metaseo_wpmseo_desc"),this.listTags=[],this.resultAnalytics=null}}class a{constructor(){s()(this,"init",()=>{i(()=>{const t=null!==n("core/editor")?n("core/editor").getEditedPostAttribute("title"):void 0;void 0!==t&&null===this.data.title&&(this.data.title=t),void 0!==t&&t!==this.data.title&&(this.data.title=t,this.changeTitle());const e=null!==n("core/editor")?n("core/editor").getEditedPostAttribute("content"):void 0;void 0!==e&&null===this.data.content&&(this.data.content=e),void 0!==e&&e!==this.data.content&&(this.data.content=e,this.changeContent())})}),s()(this,"changeTitle",()=>{(new o).editPost(this.data)}),s()(this,"changeContent",()=>{(new o).editPost(this.data)}),this.data={title:null,content:null}}}class l{constructor(){s()(this,"init",()=>{e("#title").on("keyup",this.changeTitle),"undefined"!=typeof tinyMCE&&null!==tinyMCE.get("content")?tinyMCE.get("content").on("keyup",this.changeContent):e("#content").on("keyup",this.changeContent)}),s()(this,"getData",()=>{this.data.title=e("#title").val(),"undefined"!=typeof tinyMCE&&null!==tinyMCE.get("content")?this.data.content=tinyMCE.editors.content.getContent():this.data.content=e("#content").val()}),s()(this,"changeTitle",()=>{this.getData(),(new o).editPost(this.data)}),s()(this,"changeContent",()=>{this.getData(),(new o).editPost(this.data)}),this.data={title:null,content:null}}}e(document).ajaxComplete((function(t,e,i){void 0!==i.data&&i.data.includes("action=wpms&task=reload_analysis")&&(void 0!==wp.blocks&&null!==n("core/editor")?(new a).init():(new l).init(),(new o).init())}))}(wp.data,jQuery)}]);
inc/class.metaseo-admin.php CHANGED
@@ -128,7 +128,7 @@ class MetaSeoAdmin
128
  add_action('admin_footer', array($this, 'editorFooter'));
129
  add_action('wp_dashboard_setup', array($this, 'addDashboardWidgets'));
130
  add_action('category_add_form_fields', array($this, 'categoryField'), 10, 2);
131
- add_action('edit_category_form_fields', array($this, 'editCategoryFields'));
132
  add_action('edited_category', array($this, 'saveCategoryMeta'), 10, 2);
133
  add_action('create_category', array($this, 'saveCategoryMeta'), 10, 2);
134
  add_action('post_updated', array('MetaSeoImageListTable', 'updatePost'), 10, 3);
@@ -338,27 +338,11 @@ class MetaSeoAdmin
338
  */
339
  public function categoryField()
340
  {
341
- wp_enqueue_style(
342
- 'wpms-tippy-style',
343
- plugins_url('assets/tippy/tippy.css', dirname(__FILE__)),
344
- array(),
345
- WPMSEO_VERSION
346
- );
347
 
348
- wp_enqueue_script(
349
- 'wpms-tippy',
350
- plugins_url('assets/tippy/tippy.js', dirname(__FILE__)),
351
- array('jquery'),
352
- '2.2.1',
353
- true
354
- );
355
- wp_enqueue_script(
356
- 'wpms-tippy-core',
357
- plugins_url('assets/tippy/tippy-core.js', dirname(__FILE__)),
358
- array('jquery'),
359
- '2.2.1',
360
- true
361
- );
362
  wp_enqueue_style('wpms-category-field');
363
  wp_enqueue_script('wpms-category-field');
364
  // this will add the custom meta field to the add new term page
@@ -475,26 +459,10 @@ class MetaSeoAdmin
475
  */
476
  public function editCategoryFields($tag)
477
  {
478
- wp_enqueue_style(
479
- 'wpms-tippy-style',
480
- plugins_url('assets/tippy/tippy.css', dirname(__FILE__)),
481
- array(),
482
- WPMSEO_VERSION
483
- );
484
- wp_enqueue_script(
485
- 'wpms-tippy',
486
- plugins_url('assets/tippy/tippy.js', dirname(__FILE__)),
487
- array('jquery'),
488
- '2.2.1',
489
- true
490
- );
491
- wp_enqueue_script(
492
- 'wpms-tippy-core',
493
- plugins_url('assets/tippy/tippy-core.js', dirname(__FILE__)),
494
- array('jquery'),
495
- '2.2.1',
496
- true
497
- );
498
 
499
  wp_enqueue_style('wpms-category-field');
500
  wp_enqueue_script('wpms-category-field');
@@ -622,26 +590,11 @@ class MetaSeoAdmin
622
  */
623
  public function dashboardWidget()
624
  {
625
- wp_enqueue_style(
626
- 'wpms-tippy-style',
627
- plugins_url('assets/tippy/tippy.css', dirname(__FILE__)),
628
- array(),
629
- WPMSEO_VERSION
630
- );
631
- wp_enqueue_script(
632
- 'wpms-tippy',
633
- plugins_url('assets/tippy/tippy.js', dirname(__FILE__)),
634
- array('jquery'),
635
- '2.2.1',
636
- true
637
- );
638
- wp_enqueue_script(
639
- 'wpms-tippy-core',
640
- plugins_url('assets/tippy/tippy-core.js', dirname(__FILE__)),
641
- array('jquery'),
642
- '2.2.1',
643
- true
644
- );
645
  wp_enqueue_style('wpms-dashboard-widgets');
646
  wp_enqueue_script(
647
  'wpms-dashboard-widgets',
@@ -649,7 +602,6 @@ class MetaSeoAdmin
649
  array('jquery'),
650
  WPMSEO_VERSION
651
  );
652
- wp_enqueue_style('wpms-mytippy-style');
653
  require_once(WPMETASEO_PLUGIN_DIR . 'inc/pages/dashboard_widgets.php');
654
  }
655
 
128
  add_action('admin_footer', array($this, 'editorFooter'));
129
  add_action('wp_dashboard_setup', array($this, 'addDashboardWidgets'));
130
  add_action('category_add_form_fields', array($this, 'categoryField'), 10, 2);
131
+ add_action('category_edit_form_fields', array($this, 'editCategoryFields'));
132
  add_action('edited_category', array($this, 'saveCategoryMeta'), 10, 2);
133
  add_action('create_category', array($this, 'saveCategoryMeta'), 10, 2);
134
  add_action('post_updated', array('MetaSeoImageListTable', 'updatePost'), 10, 3);
338
  */
339
  public function categoryField()
340
  {
341
+ wp_enqueue_style('wpms-tippy-style');
342
+ wp_enqueue_script('wpms-tippy-core');
343
+ wp_enqueue_script('wpms-tippy');
344
+ wp_enqueue_script('wpms-my-tippy');
 
 
345
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
346
  wp_enqueue_style('wpms-category-field');
347
  wp_enqueue_script('wpms-category-field');
348
  // this will add the custom meta field to the add new term page
459
  */
460
  public function editCategoryFields($tag)
461
  {
462
+ wp_enqueue_style('wpms-tippy-style');
463
+ wp_enqueue_script('wpms-tippy-core');
464
+ wp_enqueue_script('wpms-tippy');
465
+ wp_enqueue_script('wpms-my-tippy');
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
466
 
467
  wp_enqueue_style('wpms-category-field');
468
  wp_enqueue_script('wpms-category-field');
590
  */
591
  public function dashboardWidget()
592
  {
593
+ wp_enqueue_style('wpms-tippy-style');
594
+ wp_enqueue_style('wpms-mytippy-style');
595
+ wp_enqueue_script('wpms-tippy-core');
596
+ wp_enqueue_script('wpms-tippy');
597
+ wp_enqueue_script('wpms-my-tippy');
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
598
  wp_enqueue_style('wpms-dashboard-widgets');
599
  wp_enqueue_script(
600
  'wpms-dashboard-widgets',
602
  array('jquery'),
603
  WPMSEO_VERSION
604
  );
 
605
  require_once(WPMETASEO_PLUGIN_DIR . 'inc/pages/dashboard_widgets.php');
606
  }
607
 
inc/pages/better_seo.php CHANGED
@@ -6,7 +6,6 @@ wp_enqueue_style('wpms-mytippy-style');
6
  wp_enqueue_script('wpms-tippy-core');
7
  wp_enqueue_script('wpms-tippy');
8
  wp_enqueue_script('wpms-my-tippy');
9
- wp_enqueue_script('wpms-my-tippy');
10
 
11
  $image_src = WPMETASEO_PLUGIN_URL . 'inc/install-wizard/content/welcome-illustration/welcome-illustration.png';
12
  $srcset2x = WPMETASEO_PLUGIN_URL . 'inc/install-wizard/content/welcome-illustration/welcome-illustration@2x.png';
6
  wp_enqueue_script('wpms-tippy-core');
7
  wp_enqueue_script('wpms-tippy');
8
  wp_enqueue_script('wpms-my-tippy');
 
9
 
10
  $image_src = WPMETASEO_PLUGIN_URL . 'inc/install-wizard/content/welcome-illustration/welcome-illustration.png';
11
  $srcset2x = WPMETASEO_PLUGIN_URL . 'inc/install-wizard/content/welcome-illustration/welcome-illustration@2x.png';
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.7
5
- Tested up to: 5.7.2
6
- Stable tag: 4.3.6
7
  Requires PHP: 5.6
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
@@ -20,12 +20,12 @@ WP Meta SEO gives you the control over all your SEO optimization. Bulk SEO conte
20
  * Bulk edit image file name and meta
21
  * Bulk edit SEO link title
22
  * 404 errors redirect and internal broken link checker
23
- * Add Google Analytics tracking information and display statistics in WordPress
24
  * Generate XML and HTML sitemaps
25
  * Facebook and Twitter social sharing custom elements per content
26
  * Breadcrumb generator
27
  * Gutenberg SEO content checker
28
- * Canonical URL management for post, pages... and categories
29
 
30
 
31
  ## WP Meta SEO Addon plugin (optional), additional search engine optimization
@@ -59,11 +59,11 @@ Plus, a bulk copy feature is available to save tons of time in your SEO optimiza
59
  * Optional keyword edition
60
 
61
  A bunch of people reduce the size of the pictures in content using handles that results to a HTML resizing. And that's something wrong for SEO, for page loading time and for image quality.
62
- WP Meta SEO also include this feature in the bulk edition view, you are notified, and you can now optimize the size of your images in articles, click fix and it's replaced in your content (no broken links).
63
 
64
- ## On page SEO optimization and content analysis
65
 
66
- * Content SEO smart analysis bellow content
67
  * Google Search Console keyword suggestion in content
68
  * Search engine snippet preview
69
  * AJAX SEO analysis refresh
@@ -126,7 +126,7 @@ The redirect manager will help you to fix all types of 404 errors you can encoun
126
 
127
  * Reduce page weight by fixing HTML image resizing
128
  * See all your snippet in one view
129
- * Image name, title, description and legend
130
  * Dashboard SEO check
131
  * Automatic AJAX saving SEO content on bulk edition
132
  * On page analysis: fix SEO criteria
@@ -148,10 +148,10 @@ The redirect manager will help you to fix all types of 404 errors you can encoun
148
  * SEO 404 and redirect: Redirect all 404 in one click
149
  * Check for SEO error: is robot.txt blocking search engine
150
  * Bulk edit SEO link title in your content
151
- * Follow/Nofollow on WordPress content
152
- * Generate automatically xml sitemap
153
  * Generate automatically HTML sitemap
154
- * Sitemap source: menu, post, pages, category and custom posts
155
  * HTML sitemap display with 3 frontend layouts
156
 
157
 
@@ -159,7 +159,7 @@ The redirect manager will help you to fix all types of 404 errors you can encoun
159
 
160
  * <a href="https://www.joomunited.com/wordpress-products/wp-media-folder" rel="friend">WP Media Folder:</a> Supercharge your media library with folders
161
  * <a href="https://www.joomunited.com/wordpress-products/wp-file-download" rel="friend">WP File Download: </a> Best in class file and document manager
162
- * <a href="https://www.joomunited.com/wordpress-products/wp-speed-of-light" rel="friend">WP Speed of Light: </a> Speedup your website in an easy way
163
  * <a href="https://www.joomunited.com/wordpress-products/wp-latest-posts" rel="friend">WP Latest Posts: </a> Super flexible latest posts and content
164
  * <a href="https://www.joomunited.com/wordpress-products/wp-table-manager" rel="friend"> WP Table Manager: </a> Create and manage tables with style
165
 
@@ -167,7 +167,7 @@ The redirect manager will help you to fix all types of 404 errors you can encoun
167
  = Support =
168
 
169
  A HTML support document is provided with WP Meta SEO on JoomUnited website
170
- Feel free to ask SEO questions on our forum or here in the support section
171
  **Documentation here:** <a href="https://www.joomunited.com/support/wordpress-plugins-documentation?extension=wp-meta-seo#document" rel="friend">https://www.joomunited.com/support/wordpress-plugins-documentation?extension=wp-meta-seo#document</a>
172
 
173
  == Installation ==
@@ -180,7 +180,7 @@ Feel free to ask SEO questions on our forum or here in the support section
180
  = To install the plugin manually: =
181
  * Download and unzip the plugin wp-meta-seo.zip
182
  * Upload the /wp-meta-seo directory to /wp-content/plugins/
183
- * Activate the plugin through the 'Plugins' menu in WordPress
184
  * Use the WP Meta SEO WordPress left menu
185
 
186
  Once the plugin is installed, open the bulk edition through the admin menu or open a content to load SEO on page analysis.
@@ -199,23 +199,23 @@ So you'll be able to define SEO info for each instance.
199
  Nope :) All your SEO content is properly stored in the database and automatic SEO checks are also cached or run every 72 hours (unless you force the process)
200
 
201
  = Is WP Meta SEO compatible with 3rd party plugins? =
202
- YES it is :) All plugins and themes that are using custom post type are compatible and you'll be able to setup SEO for those content. Plus, Yoast SEO and All in one SEO content can also be imported.
203
 
204
  = Is WP Meta SEO fixing 404 errors? =
205
  Yes, using a redirect manager tool. WP Meta SEO will index all the 404 you have in your content (internal broken links).
206
 
207
  = Can I translate WP Meta SEO? =
208
- You're welcome! in the WP Meta SEO package you got English and French included as standard .po/.mo files. Use the .pot file also available in the /language folder to create your own.
209
  You can contact us if you want it to be included in the WP Meta SEO package.
210
 
211
- = How can I setup the Googlee Analytics to get statistics? =
212
- First create an account on Google analytics associated to your domain. Then from the plugin connect your website with your analytics account by copy/pasting a token code.
213
 
214
 
215
  = Compatibility =
216
  What's the minimum version of WordPress required to run WP Meta SEO? WordPress 4.0 is required. WP Meta SEO may generate PHP errors if you tried to run it on an earlier version, and so it will simply refuse to activate on any version of WordPress that's older than 4.0
217
 
218
- = Where in WordPress does WP Meta SEO plugin should be displayed? =
219
  In the admin of WordPress, on the left menu named WP Meta SEO and its sub menu for SEO tools
220
 
221
  = How do I uninstall WP Meta SEO? =
@@ -223,24 +223,24 @@ Go to the Plugins > WP Meta SEO > Deactivate > Delete
223
  If you choose to install it later all your SEO data will remain in place (database stored)
224
 
225
  = Which browsers work best with the WP Meta SEO administration interface? =
226
- WP Meta SEO is using HTML5 features so to be sure run the latest version of Chrome / Firefox / Safari or IE9+
227
 
228
  = Can I help with WP Meta SEO translation? =
229
- Yes! you can contact us on our forum. SEO as its own language and expression, we would be happy to add yours.
230
 
231
- = Why including meta keywords edition as it's not a SEO rank criteria? =
232
- Because it may helps in some case for SEO, mainly for multilingual website, it help search engines to validate the page language. Some automatic SEO tool may use it too.
233
 
234
  = Some criteria of the SEO on page analysis does not fit my content =
235
  Yes, it may be the case when, for example, you are calling 3rd party plugins in content or using specific page layouts. You have a global option to force validation of SEO criteria.
236
  This manual SEO validation on click on the reload analysis button.
237
 
238
  = How do I submit my sitemap to the Google Search Console? =
239
- From the Sitemap section of the plugin, you got a link to the XML sitemap page. Just copy/paste the link in the Google search console.
240
  You can also use the link: www.your-website.com/sitemap.xml after checking the option to copy the sitemap to the WordPress install root.
241
 
242
  = Is there a real interest for SEO to display a HTML sitemap? =
243
- It could be! if you have a lot of pages that need to be indexed with no specific priority. Our advice is to keep only the main menus of your website in the HTML sitemap.
244
 
245
  = Is it compatible with Gutenberg Editor? =
246
  Yes WP Meta SEO is compatible with Gutenberg editor since 3.7 version.
@@ -258,6 +258,9 @@ Yes WP Meta SEO is compatible with Gutenberg editor since 3.7 version.
258
 
259
  == Changelog ==
260
 
 
 
 
261
  = 4.3.6 =
262
  * Fix : Update settings from old version to Google Analytics
263
 
@@ -689,13 +692,13 @@ Yes WP Meta SEO is compatible with Gutenberg editor since 3.7 version.
689
  == Upgrade Notice ==
690
 
691
  Update through the automatic WordPress updater, all WP Meta SEO content will remain in place.
692
- You WON'T lose any SEO content: meta, alt, titles...
693
 
694
 
695
  == Requirements ==
696
 
697
  = !!NEW in latest & fresh 3.0 version!! =
698
- Sitemap feature with XML for the Google Search console and HTML with display option.
699
 
700
  = SEO vision =
701
 
@@ -704,8 +707,8 @@ WP Meta SEO has been created to give to professionals and final users some real
704
 
705
  WP Meta SEO provides some automatic tools to analyze your content and give to search engine a better content to analyze.
706
 
707
- WP Meta SEO on each new version, will focus on both "On page SEO" and "Global website SEO" factors:
708
- On page SEO: Features that help you optimize a single page, e.g. the article you are working on (with a live analysis). Common functionality includes giving SEO scores to each article, content/meta comparison, page analysis tools and making recommendations how to improve the SEO of a post.
709
  Site-wide SEO: it's more about your whole site and structure between multiple articles. Common functionality includes title formatting, meta tag optimization as well as internal linking and redirects management.
710
 
711
  And... don't forget to check each month your SEO dashboard :)
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.7
5
+ Tested up to: 5.8.0
6
+ Stable tag: 4.3.7
7
  Requires PHP: 5.6
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
20
  * Bulk edit image file name and meta
21
  * Bulk edit SEO link title
22
  * 404 errors redirect and internal broken link checker
23
+ * Add Google Analytics tracking information and display statistics on WordPress
24
  * Generate XML and HTML sitemaps
25
  * Facebook and Twitter social sharing custom elements per content
26
  * Breadcrumb generator
27
  * Gutenberg SEO content checker
28
+ * Canonical URL management for post, pages and categories
29
 
30
 
31
  ## WP Meta SEO Addon plugin (optional), additional search engine optimization
59
  * Optional keyword edition
60
 
61
  A bunch of people reduce the size of the pictures in content using handles that results to a HTML resizing. And that's something wrong for SEO, for page loading time and for image quality.
62
+ WP Meta SEO also include this feature in the bulk edition view, you are notified, and you can now optimize the size of your images in articles, click fix, and it's replaced in your content (no broken links).
63
 
64
+ ## On-page SEO optimization and content analysis
65
 
66
+ * Content SEO smart analysis below content
67
  * Google Search Console keyword suggestion in content
68
  * Search engine snippet preview
69
  * AJAX SEO analysis refresh
126
 
127
  * Reduce page weight by fixing HTML image resizing
128
  * See all your snippet in one view
129
+ * Image name, title, description, and legend
130
  * Dashboard SEO check
131
  * Automatic AJAX saving SEO content on bulk edition
132
  * On page analysis: fix SEO criteria
148
  * SEO 404 and redirect: Redirect all 404 in one click
149
  * Check for SEO error: is robot.txt blocking search engine
150
  * Bulk edit SEO link title in your content
151
+ * Follow/No follow on WordPress content
152
+ * Generate automatically XML sitemap
153
  * Generate automatically HTML sitemap
154
+ * Sitemap source: menu, post, pages, category, and custom posts
155
  * HTML sitemap display with 3 frontend layouts
156
 
157
 
159
 
160
  * <a href="https://www.joomunited.com/wordpress-products/wp-media-folder" rel="friend">WP Media Folder:</a> Supercharge your media library with folders
161
  * <a href="https://www.joomunited.com/wordpress-products/wp-file-download" rel="friend">WP File Download: </a> Best in class file and document manager
162
+ * <a href="https://www.joomunited.com/wordpress-products/wp-speed-of-light" rel="friend">WP Speed of Light: </a> Speedup your website easily
163
  * <a href="https://www.joomunited.com/wordpress-products/wp-latest-posts" rel="friend">WP Latest Posts: </a> Super flexible latest posts and content
164
  * <a href="https://www.joomunited.com/wordpress-products/wp-table-manager" rel="friend"> WP Table Manager: </a> Create and manage tables with style
165
 
167
  = Support =
168
 
169
  A HTML support document is provided with WP Meta SEO on JoomUnited website
170
+ You are welcome to ask SEO questions on our forum or here in the support section
171
  **Documentation here:** <a href="https://www.joomunited.com/support/wordpress-plugins-documentation?extension=wp-meta-seo#document" rel="friend">https://www.joomunited.com/support/wordpress-plugins-documentation?extension=wp-meta-seo#document</a>
172
 
173
  == Installation ==
180
  = To install the plugin manually: =
181
  * Download and unzip the plugin wp-meta-seo.zip
182
  * Upload the /wp-meta-seo directory to /wp-content/plugins/
183
+ * Activate the plugin through the 'Plugins' menu on WordPress
184
  * Use the WP Meta SEO WordPress left menu
185
 
186
  Once the plugin is installed, open the bulk edition through the admin menu or open a content to load SEO on page analysis.
199
  Nope :) All your SEO content is properly stored in the database and automatic SEO checks are also cached or run every 72 hours (unless you force the process)
200
 
201
  = Is WP Meta SEO compatible with 3rd party plugins? =
202
+ YES it is :) All plugins and themes that are using custom post type are compatible, and you'll be able to set up SEO for those content. Plus, Yoast SEO and All in one SEO content can also be imported.
203
 
204
  = Is WP Meta SEO fixing 404 errors? =
205
  Yes, using a redirect manager tool. WP Meta SEO will index all the 404 you have in your content (internal broken links).
206
 
207
  = Can I translate WP Meta SEO? =
208
+ You're welcome! In the WP Meta SEO package, you got English and French included as standard .po/.mo files. Use the .pot file also available in the /language folder to create your own.
209
  You can contact us if you want it to be included in the WP Meta SEO package.
210
 
211
+ = How can I set up the Google Analytics to get statistics? =
212
+ First create an account on Google Analytics associated to your domain. Then from the plugin connect your website with your analytics account by copy/pasting a token code.
213
 
214
 
215
  = Compatibility =
216
  What's the minimum version of WordPress required to run WP Meta SEO? WordPress 4.0 is required. WP Meta SEO may generate PHP errors if you tried to run it on an earlier version, and so it will simply refuse to activate on any version of WordPress that's older than 4.0
217
 
218
+ = Where on WordPress does WP Meta SEO plugin should be displayed? =
219
  In the admin of WordPress, on the left menu named WP Meta SEO and its sub menu for SEO tools
220
 
221
  = How do I uninstall WP Meta SEO? =
223
  If you choose to install it later all your SEO data will remain in place (database stored)
224
 
225
  = Which browsers work best with the WP Meta SEO administration interface? =
226
+ WP Meta SEO is using HTML5 features so to be certain run the latest version of Chrome / Firefox / Safari or IE9+
227
 
228
  = Can I help with WP Meta SEO translation? =
229
+ Yes! you can contact us on our forum. SEO as its language and expression, we would be happy to add yours.
230
 
231
+ = Why including meta keywords' edition as it's not a SEO rank criteria? =
232
+ Because it may help in some case for SEO, mainly for multilingual website, it helps search engines to validate the page language. Some automatic SEO tool may use it too.
233
 
234
  = Some criteria of the SEO on page analysis does not fit my content =
235
  Yes, it may be the case when, for example, you are calling 3rd party plugins in content or using specific page layouts. You have a global option to force validation of SEO criteria.
236
  This manual SEO validation on click on the reload analysis button.
237
 
238
  = How do I submit my sitemap to the Google Search Console? =
239
+ From the Sitemap section of the plugin, you got a link to the XML sitemap page. Just copy/paste the link in the Google Search Console.
240
  You can also use the link: www.your-website.com/sitemap.xml after checking the option to copy the sitemap to the WordPress install root.
241
 
242
  = Is there a real interest for SEO to display a HTML sitemap? =
243
+ It could be! If you have many pages that need to be indexed with no specific priority. Our advice is to keep only the main menus of your website in the HTML sitemap.
244
 
245
  = Is it compatible with Gutenberg Editor? =
246
  Yes WP Meta SEO is compatible with Gutenberg editor since 3.7 version.
258
 
259
  == Changelog ==
260
 
261
+ = 4.3.7 =
262
+ * Fix : The header title issue on some themes
263
+
264
  = 4.3.6 =
265
  * Fix : Update settings from old version to Google Analytics
266
 
692
  == Upgrade Notice ==
693
 
694
  Update through the automatic WordPress updater, all WP Meta SEO content will remain in place.
695
+ You WON'T lose any SEO content: meta, alt, titles
696
 
697
 
698
  == Requirements ==
699
 
700
  = !!NEW in latest & fresh 3.0 version!! =
701
+ Sitemap feature with XML for the Google Search Console and HTML with display option.
702
 
703
  = SEO vision =
704
 
707
 
708
  WP Meta SEO provides some automatic tools to analyze your content and give to search engine a better content to analyze.
709
 
710
+ WP Meta SEO on each new version, will focus on both "On-page SEO" and "Global website SEO" factors:
711
+ On-page SEO: Features that help you optimize a single page, e.g. the article you are working on (with a live analysis). Common functionality includes giving SEO scores to each article, content/meta comparison, page analysis tools and making recommendations how to improve the SEO of a post.
712
  Site-wide SEO: it's more about your whole site and structure between multiple articles. Common functionality includes title formatting, meta tag optimization as well as internal linking and redirects management.
713
 
714
  And... don't forget to check each month your SEO dashboard :)
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.3.6
8
  * Text Domain: wp-meta-seo
9
  * Domain Path: /languages
10
  * Author: JoomUnited
@@ -133,7 +133,7 @@ if (!defined('WPMSEO_VERSION')) {
133
  /**
134
  * Plugin version
135
  */
136
- define('WPMSEO_VERSION', '4.3.6');
137
  }
138
 
139
  if (!defined('WPMS_CLIENTID')) {
@@ -703,7 +703,6 @@ if (is_admin()) {
703
  if (empty($settings['metaseo_metatitle_tab'])) {
704
  return esc_html($title);
705
  }
706
-
707
  if (empty($wp_query->post)) {
708
  return esc_html($title);
709
  }
@@ -743,6 +742,9 @@ if (is_admin()) {
743
  }
744
  $meta_title = $opengraph->replaceSnippet($meta_title, null);
745
  }
 
 
 
746
  return esc_html($meta_title);
747
  }
748
 
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.3.7
8
  * Text Domain: wp-meta-seo
9
  * Domain Path: /languages
10
  * Author: JoomUnited
133
  /**
134
  * Plugin version
135
  */
136
+ define('WPMSEO_VERSION', '4.3.7');
137
  }
138
 
139
  if (!defined('WPMS_CLIENTID')) {
703
  if (empty($settings['metaseo_metatitle_tab'])) {
704
  return esc_html($title);
705
  }
 
706
  if (empty($wp_query->post)) {
707
  return esc_html($title);
708
  }
742
  }
743
  $meta_title = $opengraph->replaceSnippet($meta_title, null);
744
  }
745
+ if (empty($meta_title)) {
746
+ $meta_title = $title;
747
+ }
748
  return esc_html($meta_title);
749
  }
750