All in One SEO Pack - Version 3.3.3

Version Description

Download this release

Release Info

Developer hallsofmontezuma
Plugin Icon 128x128 All in One SEO Pack
Version 3.3.3
Comparing to
See all releases

Code changes from version 3.3.2 to 3.3.3

all_in_one_seo_pack.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: All In One SEO Pack
4
  Plugin URI: https://semperplugins.com/all-in-one-seo-pack-pro-version/
5
  Description: Out-of-the-box SEO for WordPress. Features like XML Sitemaps, SEO for custom post types, SEO for blogs or business sites, SEO for ecommerce sites, and much more. More than 50 million downloads since 2007.
6
- Version: 3.3.2
7
  Author: Michael Torbert
8
  Author URI: https://semperplugins.com/all-in-one-seo-pack-pro-version/
9
  Text Domain: all-in-one-seo-pack
@@ -31,7 +31,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
31
  * The original WordPress SEO plugin.
32
  *
33
  * @package All-in-One-SEO-Pack
34
- * @version 3.3.2
35
  */
36
 
37
  if ( ! defined( 'AIOSEOPPRO' ) ) {
@@ -45,7 +45,7 @@ if ( ! defined( 'AIOSEOP_PLUGIN_NAME' ) ) {
45
  }
46
  }
47
  if ( ! defined( 'AIOSEOP_VERSION' ) ) {
48
- define( 'AIOSEOP_VERSION', '3.3.2' );
49
  }
50
 
51
  /*
3
  Plugin Name: All In One SEO Pack
4
  Plugin URI: https://semperplugins.com/all-in-one-seo-pack-pro-version/
5
  Description: Out-of-the-box SEO for WordPress. Features like XML Sitemaps, SEO for custom post types, SEO for blogs or business sites, SEO for ecommerce sites, and much more. More than 50 million downloads since 2007.
6
+ Version: 3.3.3
7
  Author: Michael Torbert
8
  Author URI: https://semperplugins.com/all-in-one-seo-pack-pro-version/
9
  Text Domain: all-in-one-seo-pack
31
  * The original WordPress SEO plugin.
32
  *
33
  * @package All-in-One-SEO-Pack
34
+ * @version 3.3.3
35
  */
36
 
37
  if ( ! defined( 'AIOSEOPPRO' ) ) {
45
  }
46
  }
47
  if ( ! defined( 'AIOSEOP_VERSION' ) ) {
48
+ define( 'AIOSEOP_VERSION', '3.3.3' );
49
  }
50
 
51
  /*
js/admin/aioseop-count-chars.js CHANGED
@@ -28,6 +28,7 @@ jQuery(function($){ // eslint-disable-line max-statements
28
  currentPage = aioseopCharacterCounter.currentPage;
29
  }
30
  else if ('undefined' !== typeof aioseopOGCharacterCounter) {
 
31
  pluginDirName = aioseopOGCharacterCounter.pluginDirName;
32
  currentPage = aioseopOGCharacterCounter.currentPage;
33
  }
@@ -194,7 +195,9 @@ jQuery(function($){ // eslint-disable-line max-statements
194
  switch (inputField.attr('name')) {
195
  case 'aiosp_title':
196
  case 'aioseop_opengraph_settings_title':
197
- counterField.val(+$('#aiosp_snippet_title').parent()[0].innerText.length);
 
 
198
  break;
199
  default:
200
  descriptionField = $('[name=aiosp_description]')[0].placeholder;
28
  currentPage = aioseopCharacterCounter.currentPage;
29
  }
30
  else if ('undefined' !== typeof aioseopOGCharacterCounter) {
31
+ isGutenberg = aioseopOGCharacterCounter.isGutenberg;
32
  pluginDirName = aioseopOGCharacterCounter.pluginDirName;
33
  currentPage = aioseopOGCharacterCounter.currentPage;
34
  }
195
  switch (inputField.attr('name')) {
196
  case 'aiosp_title':
197
  case 'aioseop_opengraph_settings_title':
198
+ if( 'undefined' !== typeof $('#aiosp_snippet_title').parent()[0]) {
199
+ counterField.val(+$('#aiosp_snippet_title').parent()[0].innerText.length);
200
+ }
201
  break;
202
  default:
203
  descriptionField = $('[name=aiosp_description]')[0].placeholder;
modules/aioseop_opengraph.php CHANGED
@@ -1884,6 +1884,13 @@ if ( ! class_exists( 'All_in_One_SEO_Pack_Opengraph' ) ) {
1884
  * @param string $hook_suffix
1885
  */
1886
  public function admin_enqueue_scripts( $hook_suffix ) {
 
 
 
 
 
 
 
1887
  switch ( $hook_suffix ) {
1888
  case 'term.php':
1889
  // Legacy code for taxonomy terms until we refactor all title format related code.
@@ -1912,6 +1919,7 @@ if ( ! class_exists( 'All_in_One_SEO_Pack_Opengraph' ) ) {
1912
  );
1913
 
1914
  $count_chars_data = array(
 
1915
  'pluginDirName' => AIOSEOP_PLUGIN_DIRNAME,
1916
  'currentPage' => $hook_suffix,
1917
  );
1884
  * @param string $hook_suffix
1885
  */
1886
  public function admin_enqueue_scripts( $hook_suffix ) {
1887
+ global $current_screen;
1888
+
1889
+ $is_gutenberg = 'false';
1890
+ if ( method_exists( $current_screen, 'is_block_editor' ) && $current_screen->is_block_editor() ) {
1891
+ $is_gutenberg = 'true';
1892
+ }
1893
+
1894
  switch ( $hook_suffix ) {
1895
  case 'term.php':
1896
  // Legacy code for taxonomy terms until we refactor all title format related code.
1919
  );
1920
 
1921
  $count_chars_data = array(
1922
+ 'isGutenberg' => $is_gutenberg,
1923
  'pluginDirName' => AIOSEOP_PLUGIN_DIRNAME,
1924
  'currentPage' => $hook_suffix,
1925
  );
readme.txt CHANGED
@@ -3,7 +3,7 @@ Contributors: hallsofmontezuma, semperplugins, wpsmort, arnaudbroes
3
  Tags: SEO, Google Search Console, XML Sitemap, meta description, meta title, noindex
4
  Requires at least: 4.9
5
  Tested up to: 5.3
6
- Stable tag: 3.3.2
7
  License: GPLv2 or later
8
  Requires PHP: 5.2.4
9
 
3
  Tags: SEO, Google Search Console, XML Sitemap, meta description, meta title, noindex
4
  Requires at least: 4.9
5
  Tested up to: 5.3
6
+ Stable tag: 3.3.3
7
  License: GPLv2 or later
8
  Requires PHP: 5.2.4
9