SEO SQUIRRLY™ - Version 9.2.21

Version Description

  • 04/13/2020 =
  • Fixed Focus Pages audit date and error
  • Fixed AMP issue for JSON-LD
Download this release

Release Info

Developer cifi
Plugin Icon 128x128 SEO SQUIRRLY™
Version 9.2.21
Comparing to
See all releases

Code changes from version 9.2.18 to 9.2.21

models/Frontend.php CHANGED
@@ -366,13 +366,14 @@ class SQ_Models_Frontend {
366
  return $post;
367
  }
368
 
369
- if (in_array($post->post_type, array('post', 'page', 'product', 'cartflows_step'))) {
370
  $post->debug = 'post/page/product:' . $post->ID;
371
  $post->hash = md5($post->ID);
372
  $post->url = get_permalink($post->ID);
373
  return $post;
374
  }
375
 
 
376
  if ($post->post_type == 'attachment') {
377
  $post->debug = 'attachment:' . $post->ID;
378
  $post->hash = md5($post->ID);
366
  return $post;
367
  }
368
 
369
+ if ($post->post_type == 'post' || $post->post_type == 'page' || $post->post_type == 'product') {
370
  $post->debug = 'post/page/product:' . $post->ID;
371
  $post->hash = md5($post->ID);
372
  $post->url = get_permalink($post->ID);
373
  return $post;
374
  }
375
 
376
+
377
  if ($post->post_type == 'attachment') {
378
  $post->debug = 'attachment:' . $post->ID;
379
  $post->hash = md5($post->ID);
models/abstract/Seo.php CHANGED
@@ -99,11 +99,11 @@ abstract class SQ_Models_Abstract_Seo {
99
  if (wp_attachment_is_image($this->_post->ID)) {
100
  $attachment = get_post($this->_post->ID);
101
  $this->_post->post_title = ((isset($attachment->post_title) && strlen($attachment->post_title) > 10) ? $attachment->post_title : '');
102
- $this->_post->post_excerpt = ((isset($attachment->post_excerpt) ? $attachment->post_excerpt : isset($attachment->post_content)) ? $attachment->post_content : '');
103
  } elseif (has_post_thumbnail($this->_post->ID)) {
104
  $attachment = get_post(get_post_thumbnail_id($this->_post->ID));
105
  $this->_post->post_title = ((isset($attachment->post_title) && strlen($attachment->post_title) > 10) ? $attachment->post_title : '');
106
- $this->_post->post_excerpt = ((isset($attachment->post_excerpt) ? $attachment->post_excerpt : isset($attachment->post_content)) ? $attachment->post_content : '');
107
  }
108
 
109
  if (isset($attachment->ID)) {
99
  if (wp_attachment_is_image($this->_post->ID)) {
100
  $attachment = get_post($this->_post->ID);
101
  $this->_post->post_title = ((isset($attachment->post_title) && strlen($attachment->post_title) > 10) ? $attachment->post_title : '');
102
+ $this->_post->post_excerpt = (isset($attachment->post_excerpt) ? $attachment->post_excerpt : isset($attachment->post_content) ? $attachment->post_content : '');
103
  } elseif (has_post_thumbnail($this->_post->ID)) {
104
  $attachment = get_post(get_post_thumbnail_id($this->_post->ID));
105
  $this->_post->post_title = ((isset($attachment->post_title) && strlen($attachment->post_title) > 10) ? $attachment->post_title : '');
106
+ $this->_post->post_excerpt = (isset($attachment->post_excerpt) ? $attachment->post_excerpt : isset($attachment->post_content) ? $attachment->post_content : '');
107
  }
108
 
109
  if (isset($attachment->ID)) {
models/focuspages/Indexability.php CHANGED
@@ -35,11 +35,6 @@ class SQ_Models_Focuspages_Indexability extends SQ_Models_Abstract_Assistant {
35
  $this->_canonical = $this->_audit->data->sq_seo_meta->canonical;
36
  }
37
 
38
- if (isset($this->_audit->data->serp_checker->position) && $this->_audit->data->serp_checker->position) {
39
- $this->_dbtasks[$this->_category]['gscindex'][$this->_post->ID] = true;
40
- $this->saveDBTasks();
41
- }
42
-
43
  //get the local permalink
44
  $this->_permalink = (isset($this->_post->url) && $this->_post->url <> '' ? $this->_post->url : $this->_audit->permalink);
45
  }
35
  $this->_canonical = $this->_audit->data->sq_seo_meta->canonical;
36
  }
37
 
 
 
 
 
 
38
  //get the local permalink
39
  $this->_permalink = (isset($this->_post->url) && $this->_post->url <> '' ? $this->_post->url : $this->_audit->permalink);
40
  }
readme.txt CHANGED
@@ -366,12 +366,6 @@ Type a keyword to the right of the screen and start using Squirrly Seo. Enjoy!
366
  Squirrly SEO 9.2.00 it's a big update. We've re-designed the UX and added many new features. If you don't want to change the current experience you have with Squirrly you can remain on the current stable version of Squirrly SEO.
367
 
368
  == Changelog ==
369
- = 9.2.22 - 04/21/2020 =
370
- * Fixed Focus Pages Manual Request Index in case the post is already indexed
371
- * Fixed Json-LD product publish date compatibility with Woocommerce
372
- * Fixed GSC connection issue after Google API update
373
- * Update SEO Assistant in Bulk SEO
374
-
375
  = 9.2.21 - 04/13/2020 =
376
  * Fixed Focus Pages audit date and error
377
  * Fixed AMP issue for JSON-LD
366
  Squirrly SEO 9.2.00 it's a big update. We've re-designed the UX and added many new features. If you don't want to change the current experience you have with Squirrly you can remain on the current stable version of Squirrly SEO.
367
 
368
  == Changelog ==
 
 
 
 
 
 
369
  = 9.2.21 - 04/13/2020 =
370
  * Fixed Focus Pages audit date and error
371
  * Fixed AMP issue for JSON-LD
squirrly.php CHANGED
@@ -7,12 +7,12 @@
7
  Plugin URI: https://www.squirrly.co
8
  Description: SEO By Squirrly is for the NON-SEO experts. Get Excellent Seo with Better Content, Ranking and Analytics. For Both Humans and Search Bots.<BR> <a href="http://my.squirrly.co/user" target="_blank"><strong>Check your profile</strong></a>
9
  Author: Squirrly SEO
10
- Version: 9.2.22
11
  Author URI: https://www.squirrly.co
12
  */
13
  if (!defined('SQ_VERSION')) {
14
  /* SET THE CURRENT VERSION ABOVE AND BELOW */
15
- define('SQ_VERSION', '9.2.22');
16
  //The last stable version
17
  define('SQ_STABLE_VERSION', '9.2.18');
18
  // Call config files
7
  Plugin URI: https://www.squirrly.co
8
  Description: SEO By Squirrly is for the NON-SEO experts. Get Excellent Seo with Better Content, Ranking and Analytics. For Both Humans and Search Bots.<BR> <a href="http://my.squirrly.co/user" target="_blank"><strong>Check your profile</strong></a>
9
  Author: Squirrly SEO
10
+ Version: 9.2.21
11
  Author URI: https://www.squirrly.co
12
  */
13
  if (!defined('SQ_VERSION')) {
14
  /* SET THE CURRENT VERSION ABOVE AND BELOW */
15
+ define('SQ_VERSION', '9.2.21');
16
  //The last stable version
17
  define('SQ_STABLE_VERSION', '9.2.18');
18
  // Call config files