WordPress SEO Plugin – Rank Math - Version 1.0.9

Version Description

[Dec 26, 2018] = * Removed debug functions from the plugin to make the Redirections work properly

Download this release

Release Info

Developer MyThemeShop
Plugin Icon 128x128 WordPress SEO Plugin – Rank Math
Version 1.0.9
Comparing to
See all releases

Code changes from version 1.0.8 to 1.0.9

includes/class-rankmath.php CHANGED
@@ -29,7 +29,7 @@ final class RankMath {
29
  *
30
  * @var string
31
  */
32
- public $version = '1.0.8';
33
 
34
  /**
35
  * Rank Math database version.
29
  *
30
  * @var string
31
  */
32
+ public $version = '1.0.9';
33
 
34
  /**
35
  * Rank Math database version.
includes/modules/redirections/class-cache.php CHANGED
@@ -47,7 +47,7 @@ class Cache {
47
  * @return object
48
  */
49
  public static function get_by_url( $url ) {
50
- return empty( $url ) ? false : self::table()->whereLike( 'from_url', $url )->one();
51
  }
52
 
53
  /**
47
  * @return object
48
  */
49
  public static function get_by_url( $url ) {
50
+ return empty( $url ) ? false : self::table()->where( 'from_url', $url )->one();
51
  }
52
 
53
  /**
includes/modules/redirections/class-redirector.php CHANGED
@@ -103,7 +103,6 @@ class Redirector {
103
  if ( is_array( $this->matched ) && isset( $this->matched['id'], $this->matched['url_to'] ) ) {
104
  DB::update_access( $this->matched );
105
  }
106
- Helper::d( $this->matched );
107
 
108
  // Debug if on.
109
  $this->do_debugging();
103
  if ( is_array( $this->matched ) && isset( $this->matched['id'], $this->matched['url_to'] ) ) {
104
  DB::update_access( $this->matched );
105
  }
 
106
 
107
  // Debug if on.
108
  $this->do_debugging();
includes/opengraph/class-twitter.php CHANGED
@@ -106,7 +106,7 @@ class Twitter extends OpenGraph {
106
  }
107
 
108
  $is_archive = is_archive() && ! ( is_author() || is_category() || is_tag() || is_tax() );
109
- if ( $is_archive && in_array( $type, array( 'summary', 'summary_large_image' ) ) ) {
110
  $this->remove_tags();
111
  }
112
  }
106
  }
107
 
108
  $is_archive = is_archive() && ! ( is_author() || is_category() || is_tag() || is_tax() );
109
+ if ( $is_archive && in_array( $this->type, array( 'summary', 'summary_large_image' ) ) ) {
110
  $this->remove_tags();
111
  }
112
  }
rank-math.php CHANGED
@@ -9,7 +9,7 @@
9
  *
10
  * @wordpress-plugin
11
  * Plugin Name: Rank Math SEO
12
- * Version: 1.0.8
13
  * Plugin URI: https://link.mythemeshop.com/rankmathseo
14
  * Description: Rank Math is a revolutionary SEO product that combines the features of many SEO tools and lets you multiply your traffic in the easiest way possible.
15
  * Author: MyThemeShop
@@ -103,7 +103,7 @@ if ( ! class_exists( 'Rank_Math_Bootstrap', false ) ) {
103
  \Rollbar\Rollbar::init( array(
104
  'access_token' => '020f63d75296413da4ea438e6eed0d04',
105
  'environment' => 'development',
106
- 'code_version' => '1.0.8',
107
  'check_ignore' => array( $this, 'filter_rollbar_items' ),
108
  ));
109
  }
9
  *
10
  * @wordpress-plugin
11
  * Plugin Name: Rank Math SEO
12
+ * Version: 1.0.9
13
  * Plugin URI: https://link.mythemeshop.com/rankmathseo
14
  * Description: Rank Math is a revolutionary SEO product that combines the features of many SEO tools and lets you multiply your traffic in the easiest way possible.
15
  * Author: MyThemeShop
103
  \Rollbar\Rollbar::init( array(
104
  'access_token' => '020f63d75296413da4ea438e6eed0d04',
105
  'environment' => 'development',
106
+ 'code_version' => '1.0.9',
107
  'check_ignore' => array( $this, 'filter_rollbar_items' ),
108
  ));
109
  }
readme.txt CHANGED
@@ -5,7 +5,7 @@ Tags: seo, sitemap, google search console, schema.org, redirection
5
  Tested up to: 5.0.2
6
  Requires at least: 4.6.0
7
  Requires PHP: 5.6
8
- Stable tag: 1.0.8
9
  License: GPL-2.0+
10
  License URI: https://www.gnu.org/licenses/gpl-2.0.txt
11
 
@@ -434,22 +434,25 @@ We look forward to helping you.
434
 
435
  == Changelog ==
436
 
 
 
 
437
  = 1.0.8 [Dec 26, 2018] =
438
- * In accordance to latest product schema changes recommended by Google, we have added new fields in Rank Math for Product Schema
439
- * We have improved the Breadcrumbs and are now adding page numbers when a user enters a paginated series
440
- * Fixed an issue with WooCommerce notices where an error message wasn't being displayed when Rank Math's active
441
- * Fixed the `Undefined index: access_token` error on some installations
442
- * Fixed an issue with JS Console on new Rank Math installations
443
- * Single Post Editor was not working 100% with the Sensei LMS plugin. We have fixed it
444
- * Fixed and improved OG image and Twitter tags on taxonomy pages
445
- * When a user enters an underscore in between a focus keyword, Rank Math was unable to determine if it is a proper use of FK. It has been sorted now
446
- * OpenGraph fields on author archives were behaving in a weird way. We have fixed the issue and everything is back to normal
447
- * Speaking of author archives, some minor CSS tweaks were added to author pages on the frontend
448
- * Removing your Google Search Console account now kills the cron job for importing GSC data
449
  * Added a Pinterest validator to External Tools in SEO Analysis
450
- * We have improved the Readability Score algorithm to take into consideration the usage of codes inside your text
 
 
451
  * Improved the display of automated titles inside the Rank Math single post editor meta box
452
- * Excluded Rank Math's CSS file from loading on the frontend when the admin bar is disabled
 
 
 
 
 
 
 
 
453
 
454
  = 1.0.7 [Dec 18, 2018] =
455
  * Fixed an issue with the color coding of focus keywords when you moved their position to the first place
5
  Tested up to: 5.0.2
6
  Requires at least: 4.6.0
7
  Requires PHP: 5.6
8
+ Stable tag: 1.0.9
9
  License: GPL-2.0+
10
  License URI: https://www.gnu.org/licenses/gpl-2.0.txt
11
 
434
 
435
  == Changelog ==
436
 
437
+ = 1.0.9 [Dec 26, 2018] =
438
+ * Removed debug functions from the plugin to make the Redirections work properly
439
+
440
  = 1.0.8 [Dec 26, 2018] =
441
+ * Added new fields for Product Schema in accordance to latest product schema changes recommended by Google
 
 
 
 
 
 
 
 
 
 
442
  * Added a Pinterest validator to External Tools in SEO Analysis
443
+ * Added some minor CSS tweaks to the author pages on the frontend
444
+ * Improved the Readability Score algorithm to take into consideration the usage of codes inside your text
445
+ * Improved the Breadcrumbs functionality which now adds page numbers when a user enters a paginated series
446
  * Improved the display of automated titles inside the Rank Math single post editor meta box
447
+ * Fixed an issue with WooCommerce notices where an error message wasn't visible when Rank Math was active
448
+ * Fixed the Undefined index: access_token error on some installations
449
+ * Fixed an issue with JS Console on new Rank Math installations
450
+ * Fixed conflict with the Sensei LMS plugin, now Rank Math single post editor box appears in the custom post types
451
+ * Fixed and improved OG image and Twitter tags on taxonomy pages
452
+ * Fixed a bug in the focus keyword when underscore is used in it
453
+ * Fixed an issue with OpenGraph fields on author archive pages
454
+ * Improved cron job handling when Google Search Console account is removed from the Rank Math settings
455
+ * Removed Rank Math's CSS file from loading on the frontend when the admin bar is disabled
456
 
457
  = 1.0.7 [Dec 18, 2018] =
458
  * Fixed an issue with the color coding of focus keywords when you moved their position to the first place