WordPress SEO Plugin – Rank Math - Version 1.0.11

Version Description

[Jan 08, 2019] = * Fixed PHP 5.6 compatibility issues and related notices

Download this release

Release Info

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

Code changes from version 1.0.10 to 1.0.11

Files changed (43) hide show
  1. includes/admin/{class-helper.php → class-admin-helper.php} +2 -2
  2. includes/admin/class-admin-menu.php +5 -5
  3. includes/admin/class-import-export.php +1 -1
  4. includes/admin/class-metabox.php +5 -5
  5. includes/admin/class-registration.php +1 -1
  6. includes/admin/class-serp-checklist.php +1 -1
  7. includes/admin/class-setup-wizard.php +2 -2
  8. includes/admin/importers/abstract-importer.php +1 -1
  9. includes/admin/importers/class-aio-rich-snippet.php +1 -1
  10. includes/admin/importers/class-aioseo.php +1 -1
  11. includes/admin/importers/class-redirections.php +1 -1
  12. includes/admin/importers/class-wp-schema-pro.php +1 -1
  13. includes/admin/views/dashboard.php +2 -2
  14. includes/admin/views/plugin-activation.php +3 -3
  15. includes/admin/views/wizard/ready.php +1 -1
  16. includes/class-cmb2.php +2 -1
  17. includes/class-replace-vars.php +1 -1
  18. includes/helpers/class-choices.php +1 -1
  19. includes/helpers/class-conditional.php +1 -1
  20. includes/metaboxes/general.php +1 -1
  21. includes/metaboxes/serp-checklist.php +3 -1
  22. includes/metaboxes/serp-preview.php +3 -1
  23. includes/metaboxes/social-preview.php +1 -1
  24. includes/metaboxes/social.php +1 -1
  25. includes/modules/404-monitor/views/main.php +3 -1
  26. includes/modules/redirections/class-admin.php +1 -1
  27. includes/modules/redirections/class-redirector.php +1 -0
  28. includes/modules/redirections/views/debugging.php +3 -1
  29. includes/modules/rich-snippet/class-admin.php +1 -1
  30. includes/modules/rich-snippet/class-jsonld.php +1 -1
  31. includes/modules/search-console/class-analytics-list.php +1 -1
  32. includes/modules/search-console/class-overview.php +1 -1
  33. includes/modules/search-console/class-search-console.php +1 -1
  34. includes/modules/search-console/views/search-console-noauth.php +2 -1
  35. includes/modules/seo-analysis/seo-analysis-tests.php +2 -2
  36. includes/modules/sitemap/class-cache.php +3 -1
  37. includes/settings/general/htaccess.php +2 -2
  38. includes/settings/general/robots.php +2 -2
  39. rank-math.php +2 -2
  40. readme.txt +20 -15
  41. vendor/composer/ClassLoader.php +4 -4
  42. vendor/composer/autoload_classmap.php +1 -1
  43. vendor/composer/autoload_static.php +1 -1
includes/admin/{class-helper.php → class-admin-helper.php} RENAMED
@@ -18,9 +18,9 @@ use MyThemeShop\Helpers\WordPress;
18
  defined( 'ABSPATH' ) || exit;
19
 
20
  /**
21
- * Helper class.
22
  */
23
- class Helper {
24
 
25
  /**
26
  * Get robots.txt related data.
18
  defined( 'ABSPATH' ) || exit;
19
 
20
  /**
21
+ * Admin_Helper class.
22
  */
23
+ class Admin_Helper {
24
 
25
  /**
26
  * Get robots.txt related data.
includes/admin/class-admin-menu.php CHANGED
@@ -46,7 +46,7 @@ class Admin_Menu implements Runner {
46
  'position' => 80,
47
  'capability' => 'manage_options',
48
  'icon' => 'dashicons-chart-area',
49
- 'render' => Helper::get_view( 'dashboard' ),
50
  'classes' => array( 'rank-math-page' ),
51
  'assets' => array(
52
  'styles' => array( 'rank-math-dashboard' => '' ),
@@ -61,7 +61,7 @@ class Admin_Menu implements Runner {
61
  'parent' => 'rank-math',
62
  'capability' => 'level_1',
63
  'classes' => array( 'rank-math-page' ),
64
- 'render' => Helper::get_view( 'help-manager' ),
65
  'assets' => array(
66
  'styles' => array( 'rank-math-common' => '' ),
67
  'scripts' => array( 'rank-math-common' => '' ),
@@ -130,12 +130,12 @@ class Admin_Menu implements Runner {
130
  }
131
 
132
  if ( 'register' === $what ) {
133
- Helper::allow_tracking();
134
- Helper::register_product( $_POST['connect-username'], $_POST['connect-password'] );
135
  }
136
 
137
  if ( 'deregister' === $what ) {
138
- Helper::get_registration_data( false );
139
  }
140
  }
141
  }
46
  'position' => 80,
47
  'capability' => 'manage_options',
48
  'icon' => 'dashicons-chart-area',
49
+ 'render' => Admin_Helper::get_view( 'dashboard' ),
50
  'classes' => array( 'rank-math-page' ),
51
  'assets' => array(
52
  'styles' => array( 'rank-math-dashboard' => '' ),
61
  'parent' => 'rank-math',
62
  'capability' => 'level_1',
63
  'classes' => array( 'rank-math-page' ),
64
+ 'render' => Admin_Helper::get_view( 'help-manager' ),
65
  'assets' => array(
66
  'styles' => array( 'rank-math-common' => '' ),
67
  'scripts' => array( 'rank-math-common' => '' ),
130
  }
131
 
132
  if ( 'register' === $what ) {
133
+ Admin_Helper::allow_tracking();
134
+ Admin_Helper::register_product( $_POST['connect-username'], $_POST['connect-password'] );
135
  }
136
 
137
  if ( 'deregister' === $what ) {
138
+ Admin_Helper::get_registration_data( false );
139
  }
140
  }
141
  }
includes/admin/class-import-export.php CHANGED
@@ -49,7 +49,7 @@ class Import_Export implements Runner {
49
  new Page( 'rank-math-import-export', esc_html__( 'Import & Export', 'rank-math' ), array(
50
  'position' => 99,
51
  'parent' => 'rank-math',
52
- 'render' => Helper::get_view( 'import-export/main' ),
53
  'onsave' => array( $this, 'handler' ),
54
  'classes' => array( 'rank-math-page' ),
55
  'assets' => array(
49
  new Page( 'rank-math-import-export', esc_html__( 'Import & Export', 'rank-math' ), array(
50
  'position' => 99,
51
  'parent' => 'rank-math',
52
+ 'render' => Admin_Helper::get_view( 'import-export/main' ),
53
  'onsave' => array( $this, 'handler' ),
54
  'classes' => array( 'rank-math-page' ),
55
  'assets' => array(
includes/admin/class-metabox.php CHANGED
@@ -76,7 +76,7 @@ class Metabox implements Runner {
76
  wp_enqueue_script( 'jquery-tag-editor', $js . 'jquery.tag-editor.js', array( 'jquery-ui-autocomplete', 'jquery-caret' ), '1.0.21', true );
77
  wp_enqueue_script( 'rank-math-assessor', $js . 'assessor.js', null, rank_math()->version, true );
78
 
79
- if ( Helper::is_post_edit() ) {
80
  global $post;
81
  GlobalHelper::add_json( 'objectID', $post->ID );
82
  GlobalHelper::add_json( 'objectType', 'post' );
@@ -89,14 +89,14 @@ class Metabox implements Runner {
89
  wp_enqueue_script( 'rank-math-post-metabox', $js . 'post-metabox.js', array( 'clipboard', 'rank-math-common', 'rank-math-assessor', 'jquery-tag-editor' ), rank_math()->version, true );
90
  }
91
 
92
- if ( Helper::is_term_edit() ) {
93
  GlobalHelper::add_json( 'objectID', isset( $_REQUEST['tag_ID'] ) ? absint( $_REQUEST['tag_ID'] ) : 0 );
94
  GlobalHelper::add_json( 'objectType', 'term' );
95
 
96
  wp_enqueue_script( 'rank-math-term-metabox', $js . 'term-metabox.js', array( 'rank-math-common', 'rank-math-assessor', 'jquery-tag-editor' ), rank_math()->version, true );
97
  }
98
 
99
- if ( $this->is_user_metabox() && Helper::is_user_edit() ) {
100
  global $user_id;
101
  GlobalHelper::add_json( 'objectID', $user_id );
102
  GlobalHelper::add_json( 'objectType', 'user' );
@@ -125,7 +125,7 @@ class Metabox implements Runner {
125
  'context' => 'normal',
126
  'priority' => $this->get_priority(),
127
  'cmb_styles' => false,
128
- 'classes' => 'rank-math-metabox-wrap' . ( Helper::is_term_profile_page() ? ' rank-math-metabox-frame' : '' ),
129
  ) );
130
 
131
  $tabs = $this->get_tabs();
@@ -193,7 +193,7 @@ class Metabox implements Runner {
193
 
194
  $cmb = new_cmb2_box( array(
195
  'id' => $this->metabox_id . '_link_suggestions',
196
- 'title' => esc_html__( 'Link Suggestions', 'rank-math' ) . Helper::get_tooltip( esc_html__( 'Click on the button to copy URL or insert link in content. You can also drag and drop links in the post content.', 'rank-math' ) ),
197
  'object_types' => $allowed_post_types,
198
  'context' => 'side',
199
  'priority' => 'default',
76
  wp_enqueue_script( 'jquery-tag-editor', $js . 'jquery.tag-editor.js', array( 'jquery-ui-autocomplete', 'jquery-caret' ), '1.0.21', true );
77
  wp_enqueue_script( 'rank-math-assessor', $js . 'assessor.js', null, rank_math()->version, true );
78
 
79
+ if ( Admin_Helper::is_post_edit() ) {
80
  global $post;
81
  GlobalHelper::add_json( 'objectID', $post->ID );
82
  GlobalHelper::add_json( 'objectType', 'post' );
89
  wp_enqueue_script( 'rank-math-post-metabox', $js . 'post-metabox.js', array( 'clipboard', 'rank-math-common', 'rank-math-assessor', 'jquery-tag-editor' ), rank_math()->version, true );
90
  }
91
 
92
+ if ( Admin_Helper::is_term_edit() ) {
93
  GlobalHelper::add_json( 'objectID', isset( $_REQUEST['tag_ID'] ) ? absint( $_REQUEST['tag_ID'] ) : 0 );
94
  GlobalHelper::add_json( 'objectType', 'term' );
95
 
96
  wp_enqueue_script( 'rank-math-term-metabox', $js . 'term-metabox.js', array( 'rank-math-common', 'rank-math-assessor', 'jquery-tag-editor' ), rank_math()->version, true );
97
  }
98
 
99
+ if ( $this->is_user_metabox() && Admin_Helper::is_user_edit() ) {
100
  global $user_id;
101
  GlobalHelper::add_json( 'objectID', $user_id );
102
  GlobalHelper::add_json( 'objectType', 'user' );
125
  'context' => 'normal',
126
  'priority' => $this->get_priority(),
127
  'cmb_styles' => false,
128
+ 'classes' => 'rank-math-metabox-wrap' . ( Admin_Helper::is_term_profile_page() ? ' rank-math-metabox-frame' : '' ),
129
  ) );
130
 
131
  $tabs = $this->get_tabs();
193
 
194
  $cmb = new_cmb2_box( array(
195
  'id' => $this->metabox_id . '_link_suggestions',
196
+ 'title' => esc_html__( 'Link Suggestions', 'rank-math' ) . Admin_Helper::get_tooltip( esc_html__( 'Click on the button to copy URL or insert link in content. You can also drag and drop links in the post content.', 'rank-math' ) ),
197
  'object_types' => $allowed_post_types,
198
  'context' => 'side',
199
  'priority' => 'default',
includes/admin/class-registration.php CHANGED
@@ -13,7 +13,7 @@ namespace RankMath\Admin;
13
  use RankMath\KB;
14
  use RankMath\CMB2;
15
  use RankMath\Helper;
16
- use RankMath\Admin\Helper as Admin_Helper;
17
  use RankMath\Traits\Hooker;
18
 
19
  defined( 'ABSPATH' ) || exit;
13
  use RankMath\KB;
14
  use RankMath\CMB2;
15
  use RankMath\Helper;
16
+ use RankMath\Admin\Admin_Helper;
17
  use RankMath\Traits\Hooker;
18
 
19
  defined( 'ABSPATH' ) || exit;
includes/admin/class-serp-checklist.php CHANGED
@@ -383,7 +383,7 @@ class Serp_Checklist {
383
  ?>
384
  <li class="seo-check-<?php echo $id; ?> test-fail<?php echo in_array( $id, $primary ) ? ' is-primary' : ''; ?>">
385
  <span class="seo-check-text"><?php echo str_replace( array( '{0}', '{1}' ), '_', $item['fail'] ); ?></span>
386
- <?php echo isset( $item['tooltip'] ) ? Helper::get_tooltip( $item['tooltip'] ) : ''; ?>
387
  </li>
388
  <?php
389
  endforeach;
383
  ?>
384
  <li class="seo-check-<?php echo $id; ?> test-fail<?php echo in_array( $id, $primary ) ? ' is-primary' : ''; ?>">
385
  <span class="seo-check-text"><?php echo str_replace( array( '{0}', '{1}' ), '_', $item['fail'] ); ?></span>
386
+ <?php echo isset( $item['tooltip'] ) ? Admin_Helper::get_tooltip( $item['tooltip'] ) : ''; ?>
387
  </li>
388
  <?php
389
  endforeach;
includes/admin/class-setup-wizard.php CHANGED
@@ -409,7 +409,7 @@ class Setup_Wizard {
409
  }
410
 
411
  // Taxonomies.
412
- $taxonomies = Helper::get_taxonomies_options();
413
  array_shift( $taxonomies );
414
  foreach ( $taxonomies as $taxonomy => $label ) {
415
  $settings['titles'][ "tax_{$taxonomy}_add_meta_box" ] = 'on';
@@ -1213,7 +1213,7 @@ class Setup_Wizard {
1213
  * @return string
1214
  */
1215
  public function get_view( $view ) {
1216
- return Helper::get_view( "wizard/{$view}" );
1217
  }
1218
 
1219
  /**
409
  }
410
 
411
  // Taxonomies.
412
+ $taxonomies = Admin_Helper::get_taxonomies_options();
413
  array_shift( $taxonomies );
414
  foreach ( $taxonomies as $taxonomy => $label ) {
415
  $settings['titles'][ "tax_{$taxonomy}_add_meta_box" ] = 'on';
1213
  * @return string
1214
  */
1215
  public function get_view( $view ) {
1216
+ return Admin_Helper::get_view( "wizard/{$view}" );
1217
  }
1218
 
1219
  /**
includes/admin/importers/abstract-importer.php CHANGED
@@ -14,7 +14,7 @@ use Exception;
14
  use RankMath\Helper;
15
  use RankMath\Traits\Ajax;
16
  use RankMath\Traits\Hooker;
17
- use RankMath\Admin\Helper as Admin_Helper;
18
  use MyThemeShop\Helpers\DB;
19
  use MyThemeShop\Helpers\Attachment;
20
 
14
  use RankMath\Helper;
15
  use RankMath\Traits\Ajax;
16
  use RankMath\Traits\Hooker;
17
+ use RankMath\Admin\Admin_Helper;
18
  use MyThemeShop\Helpers\DB;
19
  use MyThemeShop\Helpers\Attachment;
20
 
includes/admin/importers/class-aio-rich-snippet.php CHANGED
@@ -10,7 +10,7 @@
10
 
11
  namespace RankMath\Admin\Importers;
12
 
13
- use RankMath\Admin\Helper as Admin_Helper;
14
 
15
  defined( 'ABSPATH' ) || exit;
16
 
10
 
11
  namespace RankMath\Admin\Importers;
12
 
13
+ use RankMath\Admin\Admin_Helper;
14
 
15
  defined( 'ABSPATH' ) || exit;
16
 
includes/admin/importers/class-aioseo.php CHANGED
@@ -12,7 +12,7 @@ namespace RankMath\Admin\Importers;
12
 
13
  use RankMath\Helper;
14
  use MyThemeShop\Helpers\Str;
15
- use RankMath\Admin\Helper as Admin_Helper;
16
 
17
  defined( 'ABSPATH' ) || exit;
18
 
12
 
13
  use RankMath\Helper;
14
  use MyThemeShop\Helpers\Str;
15
+ use RankMath\Admin\Admin_Helper;
16
 
17
  defined( 'ABSPATH' ) || exit;
18
 
includes/admin/importers/class-redirections.php CHANGED
@@ -11,7 +11,7 @@
11
  namespace RankMath\Admin\Importers;
12
 
13
  use RankMath\Helper;
14
- use RankMath\Admin\Helper as Admin_Helper;
15
  use RankMath\Redirections\Form as Form;
16
 
17
  defined( 'ABSPATH' ) || exit;
11
  namespace RankMath\Admin\Importers;
12
 
13
  use RankMath\Helper;
14
+ use RankMath\Admin\Admin_Helper;
15
  use RankMath\Redirections\Form as Form;
16
 
17
  defined( 'ABSPATH' ) || exit;
includes/admin/importers/class-wp-schema-pro.php CHANGED
@@ -11,7 +11,7 @@
11
  namespace RankMath\Admin\Importers;
12
 
13
  use RankMath\Helper;
14
- use RankMath\Admin\Helper as Admin_Helper;
15
 
16
  defined( 'ABSPATH' ) || exit;
17
 
11
  namespace RankMath\Admin\Importers;
12
 
13
  use RankMath\Helper;
14
+ use RankMath\Admin\Admin_Helper;
15
 
16
  defined( 'ABSPATH' ) || exit;
17
 
includes/admin/views/dashboard.php CHANGED
@@ -6,7 +6,7 @@
6
  * @subpackage RankMath\Admin
7
  */
8
 
9
- use RankMath\Admin\Helper;
10
  use RankMath\Admin\System_Info;
11
 
12
  $is_network_admin = is_network_admin();
@@ -42,7 +42,7 @@ $current_tab = $is_network_active && $is_network_admin ? 'help' : ( isset(
42
 
43
  // Others.
44
  } else {
45
- include_once Helper::get_view( "dashboard-{$current_tab}" );
46
  }
47
  // phpcs:enable
48
  ?>
6
  * @subpackage RankMath\Admin
7
  */
8
 
9
+ use RankMath\Admin\Admin_Helper;
10
  use RankMath\Admin\System_Info;
11
 
12
  $is_network_admin = is_network_admin();
42
 
43
  // Others.
44
  } else {
45
+ include_once Admin_Helper::get_view( "dashboard-{$current_tab}" );
46
  }
47
  // phpcs:enable
48
  ?>
includes/admin/views/plugin-activation.php CHANGED
@@ -6,10 +6,10 @@
6
  * @subpackage RankMath\Admin
7
  */
8
 
9
- use RankMath\Admin\Helper;
10
  use RankMath\KB;
11
 
12
- $registered = Helper::get_registration_data();
13
  $class = false !== $registered ? 'status-green' : 'status-red';
14
  ?>
15
  <div class="rank-math-box <?php echo $class; ?>">
@@ -48,7 +48,7 @@ $class = false !== $registered ? 'status-green' : 'status-red';
48
  </div>
49
  <?php else : ?>
50
  <h3 style="margin:0 0 20px; display: inline; vertical-align: top;"><?php esc_html_e( 'You have successfully activated Rank Math. If you find the plugin useful, feel free to recommend it to your friends or colleagues.', 'rank-math' ); ?></h3>
51
- <?php Helper::get_social_share(); ?>
52
  <?php endif; ?>
53
  <div class="frm-submit">
54
  <button type="submit" class="button button-primary button-xlarge" name="button"><?php echo $registered ? esc_html__( 'Deactivate License', 'rank-math' ) : esc_html__( 'Connect Your Account', 'rank-math' ); ?></button>
6
  * @subpackage RankMath\Admin
7
  */
8
 
9
+ use RankMath\Admin\Admin_Helper;
10
  use RankMath\KB;
11
 
12
+ $registered = Admin_Helper::get_registration_data();
13
  $class = false !== $registered ? 'status-green' : 'status-red';
14
  ?>
15
  <div class="rank-math-box <?php echo $class; ?>">
48
  </div>
49
  <?php else : ?>
50
  <h3 style="margin:0 0 20px; display: inline; vertical-align: top;"><?php esc_html_e( 'You have successfully activated Rank Math. If you find the plugin useful, feel free to recommend it to your friends or colleagues.', 'rank-math' ); ?></h3>
51
+ <?php Admin_Helper::get_social_share(); ?>
52
  <?php endif; ?>
53
  <div class="frm-submit">
54
  <button type="submit" class="button button-primary button-xlarge" name="button"><?php echo $registered ? esc_html__( 'Deactivate License', 'rank-math' ) : esc_html__( 'Connect Your Account', 'rank-math' ); ?></button>
includes/admin/views/wizard/ready.php CHANGED
@@ -12,7 +12,7 @@ use RankMath\KB;
12
  <header>
13
  <h1>
14
  <i class="dashicons dashicons-yes"></i> <?php esc_html_e( 'Your site is ready!', 'rank-math' ); ?>
15
- <?php \RankMath\Admin\Helper::get_social_share(); ?>
16
  </h1>
17
  </header>
18
 
12
  <header>
13
  <h1>
14
  <i class="dashicons dashicons-yes"></i> <?php esc_html_e( 'Your site is ready!', 'rank-math' ); ?>
15
+ <?php \RankMath\Admin\Admin_Helper::get_social_share(); ?>
16
  </h1>
17
  </header>
18
 
includes/class-cmb2.php CHANGED
@@ -12,7 +12,8 @@
12
 
13
  namespace RankMath;
14
 
15
- use RankMath\Admin\Helper as Admin_Helper;
 
16
 
17
  defined( 'ABSPATH' ) || exit;
18
 
12
 
13
  namespace RankMath;
14
 
15
+ use MyThemeShop\Helpers\Str;
16
+ use RankMath\Admin\Admin_Helper;
17
 
18
  defined( 'ABSPATH' ) || exit;
19
 
includes/class-replace-vars.php CHANGED
@@ -15,7 +15,7 @@ namespace RankMath;
15
 
16
  use MyThemeShop\Helpers\Str;
17
  use MyThemeShop\Helpers\WordPress;
18
- use RankMath\Admin\Helper as Admin_Helper;
19
  use RankMath\Traits\Hooker;
20
  use RankMath\Traits\Replacement;
21
 
15
 
16
  use MyThemeShop\Helpers\Str;
17
  use MyThemeShop\Helpers\WordPress;
18
+ use RankMath\Admin\Admin_Helper;
19
  use RankMath\Traits\Hooker;
20
  use RankMath\Traits\Replacement;
21
 
includes/helpers/class-choices.php CHANGED
@@ -11,7 +11,7 @@
11
  namespace RankMath\Helpers;
12
 
13
  use RankMath\Helper;
14
- use RankMath\Admin\Helper as Admin_Helper;
15
 
16
  defined( 'ABSPATH' ) || exit;
17
 
11
  namespace RankMath\Helpers;
12
 
13
  use RankMath\Helper;
14
+ use RankMath\Admin\Admin_Helper;
15
 
16
  defined( 'ABSPATH' ) || exit;
17
 
includes/helpers/class-conditional.php CHANGED
@@ -11,7 +11,7 @@
11
  namespace RankMath\Helpers;
12
 
13
  use RankMath\Helper;
14
- use RankMath\Admin\Helper as Admin_Helper;
15
 
16
  defined( 'ABSPATH' ) || exit;
17
 
11
  namespace RankMath\Helpers;
12
 
13
  use RankMath\Helper;
14
+ use RankMath\Admin\Admin_Helper;
15
 
16
  defined( 'ABSPATH' ) || exit;
17
 
includes/metaboxes/general.php CHANGED
@@ -8,7 +8,7 @@
8
 
9
  use RankMath\Helper;
10
  use MyThemeShop\Helpers\WordPress;
11
- use RankMath\Admin\Helper as Admin_Helper;
12
 
13
  $cmb->add_field( array(
14
  'id' => 'rank_math_serp_preview',
8
 
9
  use RankMath\Helper;
10
  use MyThemeShop\Helpers\WordPress;
11
+ use RankMath\Admin\Admin_Helper;
12
 
13
  $cmb->add_field( array(
14
  'id' => 'rank_math_serp_preview',
includes/metaboxes/serp-checklist.php CHANGED
@@ -6,5 +6,7 @@
6
  * @subpackage RankMath\Metaboxes
7
  */
8
 
9
- $checklist = new RankMath\Admin\Serp_Checklist;
 
 
10
  $checklist->display();
6
  * @subpackage RankMath\Metaboxes
7
  */
8
 
9
+ use RankMath\Admin\Serp_Checklist;
10
+
11
+ $checklist = new Serp_Checklist;
12
  $checklist->display();
includes/metaboxes/serp-preview.php CHANGED
@@ -6,5 +6,7 @@
6
  * @subpackage RankMath\Metaboxes
7
  */
8
 
9
- $checklist = new RankMath\Admin\Serp_Preview;
 
 
10
  $checklist->display();
6
  * @subpackage RankMath\Metaboxes
7
  */
8
 
9
+ use RankMath\Admin\Serp_Preview;
10
+
11
+ $checklist = new Serp_Preview;
12
  $checklist->display();
includes/metaboxes/social-preview.php CHANGED
@@ -7,7 +7,7 @@
7
  */
8
 
9
  use RankMath\Helper;
10
- use RankMath\Admin\Helper as Admin_Helper;
11
 
12
  global $post;
13
 
7
  */
8
 
9
  use RankMath\Helper;
10
+ use RankMath\Admin\Admin_Helper;
11
 
12
  global $post;
13
 
includes/metaboxes/social.php CHANGED
@@ -7,7 +7,7 @@
7
  */
8
 
9
  use RankMath\Helper;
10
- use RankMath\Admin\Helper as Admin_Helper;
11
 
12
  $cmb->add_field( array(
13
  'id' => 'rank_math_social_tabs',
7
  */
8
 
9
  use RankMath\Helper;
10
+ use RankMath\Admin\Admin_Helper;
11
 
12
  $cmb->add_field( array(
13
  'id' => 'rank_math_social_tabs',
includes/modules/404-monitor/views/main.php CHANGED
@@ -6,7 +6,9 @@
6
  * @subpackage RankMath\Monitor
7
  */
8
 
9
- $monitor = RankMath\Helper::get_module( '404-monitor' )->admin;
 
 
10
  ?>
11
  <div class="wrap rank-math-404-monitor-wrap">
12
 
6
  * @subpackage RankMath\Monitor
7
  */
8
 
9
+ use RankMath\Helper;
10
+
11
+ $monitor = Helper::get_module( '404-monitor' )->admin;
12
  ?>
13
  <div class="wrap rank-math-404-monitor-wrap">
14
 
includes/modules/redirections/class-admin.php CHANGED
@@ -15,7 +15,7 @@ use RankMath\Helper;
15
  use RankMath\Module;
16
  use RankMath\Traits\Ajax;
17
  use RankMath\Traits\Hooker;
18
- use RankMath\Admin\Helper as Admin_Helper;
19
  use MyThemeShop\Admin\Page;
20
  use MyThemeShop\Helpers\Arr;
21
  use MyThemeShop\Helpers\Str;
15
  use RankMath\Module;
16
  use RankMath\Traits\Ajax;
17
  use RankMath\Traits\Hooker;
18
+ use RankMath\Admin\Admin_Helper;
19
  use MyThemeShop\Admin\Page;
20
  use MyThemeShop\Helpers\Arr;
21
  use MyThemeShop\Helpers\Str;
includes/modules/redirections/class-redirector.php CHANGED
@@ -10,6 +10,7 @@
10
 
11
  namespace RankMath\Redirections;
12
 
 
13
  use RankMath\Helper;
14
  use RankMath\Traits\Hooker;
15
  use MyThemeShop\Helpers\Str;
10
 
11
  namespace RankMath\Redirections;
12
 
13
+ use WP_Query;
14
  use RankMath\Helper;
15
  use RankMath\Traits\Hooker;
16
  use MyThemeShop\Helpers\Str;
includes/modules/redirections/views/debugging.php CHANGED
@@ -6,6 +6,8 @@
6
  * @subpackage RankMath\Redirections
7
  */
8
 
 
 
9
  ?>
10
  <!DOCTYPE html>
11
  <html xmlns="http://www.w3.org/1999/xhtml" <?php language_attributes(); ?>>
@@ -87,7 +89,7 @@
87
  </div>
88
 
89
  <p>
90
- <?php $page_url = RankMath\Helper::get_admin_url( 'redirections' ); ?>
91
  <?php if ( is_array( $this->matched ) ) : ?>
92
  <a target="_blank" href="<?php echo $page_url . '&action=edit&redirection=' . $this->matched['id']; ?>"><?php esc_html_e( 'Manage This Redirection', 'rank-math' ); ?></a> or
93
  <?php endif; ?>
6
  * @subpackage RankMath\Redirections
7
  */
8
 
9
+ use RankMath\Helper;
10
+
11
  ?>
12
  <!DOCTYPE html>
13
  <html xmlns="http://www.w3.org/1999/xhtml" <?php language_attributes(); ?>>
89
  </div>
90
 
91
  <p>
92
+ <?php $page_url = Helper::get_admin_url( 'redirections' ); ?>
93
  <?php if ( is_array( $this->matched ) ) : ?>
94
  <a target="_blank" href="<?php echo $page_url . '&action=edit&redirection=' . $this->matched['id']; ?>"><?php esc_html_e( 'Manage This Redirection', 'rank-math' ); ?></a> or
95
  <?php endif; ?>
includes/modules/rich-snippet/class-admin.php CHANGED
@@ -11,7 +11,7 @@
11
  namespace RankMath\RichSnippet;
12
 
13
  use RankMath\Helper;
14
- use RankMath\Admin\Helper as Admin_Helper;
15
  use RankMath\Module;
16
  use MyThemeShop\Helpers\Arr;
17
 
11
  namespace RankMath\RichSnippet;
12
 
13
  use RankMath\Helper;
14
+ use RankMath\Admin\Admin_Helper;
15
  use RankMath\Module;
16
  use MyThemeShop\Helpers\Arr;
17
 
includes/modules/rich-snippet/class-jsonld.php CHANGED
@@ -12,7 +12,7 @@ namespace RankMath\RichSnippet;
12
 
13
  use RankMath\Helper;
14
  use RankMath\Traits\Hooker;
15
- use RankMath\Admin\Helper as Admin_Helper;
16
  use MyThemeShop\Helpers\Str;
17
  use MyThemeShop\Helpers\Conditional;
18
 
12
 
13
  use RankMath\Helper;
14
  use RankMath\Traits\Hooker;
15
+ use RankMath\Admin\Admin_Helper;
16
  use MyThemeShop\Helpers\Str;
17
  use MyThemeShop\Helpers\Conditional;
18
 
includes/modules/search-console/class-analytics-list.php CHANGED
@@ -12,7 +12,7 @@ namespace RankMath\Search_Console;
12
 
13
  use RankMath\Helper;
14
  use MyThemeShop\Admin\List_Table;
15
- use RankMath\Admin\Helper as Admin_Helper;
16
 
17
  defined( 'ABSPATH' ) || exit;
18
 
12
 
13
  use RankMath\Helper;
14
  use MyThemeShop\Admin\List_Table;
15
+ use RankMath\Admin\Admin_Helper;
16
 
17
  defined( 'ABSPATH' ) || exit;
18
 
includes/modules/search-console/class-overview.php CHANGED
@@ -11,7 +11,7 @@
11
  namespace RankMath\Search_Console;
12
 
13
  use RankMath\Helper;
14
- use RankMath\Admin\Helper as Admin_Helper;
15
  use RankMath\Traits\Hooker;
16
  use MyThemeShop\Helpers\Str;
17
 
11
  namespace RankMath\Search_Console;
12
 
13
  use RankMath\Helper;
14
+ use RankMath\Admin\Admin_Helper;
15
  use RankMath\Traits\Hooker;
16
  use MyThemeShop\Helpers\Str;
17
 
includes/modules/search-console/class-search-console.php CHANGED
@@ -13,7 +13,7 @@ namespace RankMath\Search_Console;
13
  use Exception;
14
  use RankMath\Helper;
15
  use RankMath\Module;
16
- use RankMath\Admin\Helper as Admin_Helper;
17
  use RankMath\Traits\Ajax;
18
  use MyThemeShop\Admin\Page;
19
  use MyThemeShop\Helpers\Arr;
13
  use Exception;
14
  use RankMath\Helper;
15
  use RankMath\Module;
16
+ use RankMath\Admin\Admin_Helper;
17
  use RankMath\Traits\Ajax;
18
  use MyThemeShop\Admin\Page;
19
  use MyThemeShop\Helpers\Arr;
includes/modules/search-console/views/search-console-noauth.php CHANGED
@@ -5,12 +5,13 @@
5
  * @package Rank_Math
6
  */
7
 
 
8
  ?>
9
  <br>
10
  <div class="rank-math-notice notice notice-error inline">
11
  <p>
12
  <?php /* translators: admin screen link */ ?>
13
- <?php printf( wp_kses_post( __( 'Please navigate to <a href="%s">SEO > Settings > Search Console</a> to authorize access to Google Search Console.', 'rank-math' ) ), esc_url( RankMath\Helper::get_admin_url( 'options-general#setting-panel-search-console' ) ) ); ?>
14
  <?php echo '<a href="https://mythemeshop.com/kb/wordpress-seo-plugin-rank-math/search-console/" target="_blank">' . __( 'Learn more.', 'rank-math' ) . '</a>'; ?>
15
  </p>
16
  </div>
5
  * @package Rank_Math
6
  */
7
 
8
+ use RankMath\Helper;
9
  ?>
10
  <br>
11
  <div class="rank-math-notice notice notice-error inline">
12
  <p>
13
  <?php /* translators: admin screen link */ ?>
14
+ <?php printf( wp_kses_post( __( 'Please navigate to <a href="%s">SEO > Settings > Search Console</a> to authorize access to Google Search Console.', 'rank-math' ) ), esc_url( Helper::get_admin_url( 'options-general#setting-panel-search-console' ) ) ); ?>
15
  <?php echo '<a href="https://mythemeshop.com/kb/wordpress-seo-plugin-rank-math/search-console/" target="_blank">' . __( 'Learn more.', 'rank-math' ) . '</a>'; ?>
16
  </p>
17
  </div>
includes/modules/seo-analysis/seo-analysis-tests.php CHANGED
@@ -8,8 +8,8 @@
8
  * @author MyThemeShop <admin@mythemeshop.com>
9
  */
10
 
11
- use RankMath\Helper;
12
  use RankMath\KB;
 
13
 
14
  defined( 'ABSPATH' ) || exit;
15
 
@@ -343,7 +343,7 @@ function rank_math_analyze_post_titles() {
343
  /* translators: post type links */
344
  $message = sprintf( esc_html__( 'There are %s published posts where the focus keyword does not appear in the post title.', 'rank-math' ), join( ', ', $links ) );
345
 
346
- $post_ids = wp_list_pluck( $rows, 'ID' );
347
  $post_ids_max = array_slice( $post_ids, 0, 20 );
348
  foreach ( $post_ids_max as $postid ) {
349
  $info[] = '<a href="' . get_permalink( $postid ) . '" target="_blank">' . get_the_title( $postid ) . '</a>';
8
  * @author MyThemeShop <admin@mythemeshop.com>
9
  */
10
 
 
11
  use RankMath\KB;
12
+ use RankMath\Helper;
13
 
14
  defined( 'ABSPATH' ) || exit;
15
 
343
  /* translators: post type links */
344
  $message = sprintf( esc_html__( 'There are %s published posts where the focus keyword does not appear in the post title.', 'rank-math' ), join( ', ', $links ) );
345
 
346
+ $post_ids = wp_list_pluck( $data, 'ID' );
347
  $post_ids_max = array_slice( $post_ids, 0, 20 );
348
  foreach ( $post_ids_max as $postid ) {
349
  $info[] = '<a href="' . get_permalink( $postid ) . '" target="_blank">' . get_the_title( $postid ) . '</a>';
includes/modules/sitemap/class-cache.php CHANGED
@@ -10,6 +10,8 @@
10
 
11
  namespace RankMath\Sitemap;
12
 
 
 
13
  use RankMath\Helper;
14
  use RankMath\Traits\Hooker;
15
  use MyThemeShop\Helpers\WordPress;
@@ -230,7 +232,7 @@ class Cache {
230
  return $wpdb->query( "DELETE FROM $wpdb->options WHERE option_name LIKE '_transient_sitemap_%'" );
231
  }
232
 
233
- $wpdb->query( "DELETE FROM $wpdb->options WHERE option_name LIKE '_transient_sitemap_" . $type . "_%'" ); // WPCS: unprepared SQL ok.
234
  }
235
 
236
  /**
10
 
11
  namespace RankMath\Sitemap;
12
 
13
+ use WpeCommon;
14
+ use SG_CachePress_Supercacher;
15
  use RankMath\Helper;
16
  use RankMath\Traits\Hooker;
17
  use MyThemeShop\Helpers\WordPress;
232
  return $wpdb->query( "DELETE FROM $wpdb->options WHERE option_name LIKE '_transient_sitemap_%'" );
233
  }
234
 
235
+ $wpdb->query( "DELETE FROM $wpdb->options WHERE option_name LIKE '_transient_sitemap_" . $type . "_%'" ); // phpcs:ignore
236
  }
237
 
238
  /**
includes/settings/general/htaccess.php CHANGED
@@ -6,9 +6,9 @@
6
  * @subpackage RankMath\Settings
7
  */
8
 
9
- use RankMath\Admin\Helper;
10
 
11
- $data = Helper::get_htaccess_data();
12
 
13
  if ( false === $data ) {
14
  $cmb->add_field( array(
6
  * @subpackage RankMath\Settings
7
  */
8
 
9
+ use RankMath\Admin\Admin_Helper;
10
 
11
+ $data = Admin_Helper::get_htaccess_data();
12
 
13
  if ( false === $data ) {
14
  $cmb->add_field( array(
includes/settings/general/robots.php CHANGED
@@ -6,9 +6,9 @@
6
  * @subpackage RankMath\Settings
7
  */
8
 
9
- use RankMath\Admin\Helper;
10
 
11
- $data = Helper::get_robots_data();
12
  $attributes = array();
13
  if ( $data['exists'] ) {
14
  $attributes['readonly'] = 'readonly';
6
  * @subpackage RankMath\Settings
7
  */
8
 
9
+ use RankMath\Admin\Admin_Helper;
10
 
11
+ $data = Admin_Helper::get_robots_data();
12
  $attributes = array();
13
  if ( $data['exists'] ) {
14
  $attributes['readonly'] = 'readonly';
rank-math.php CHANGED
@@ -9,7 +9,7 @@
9
  *
10
  * @wordpress-plugin
11
  * Plugin Name: Rank Math SEO
12
- * Version: 1.0.10
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
@@ -34,7 +34,7 @@ final class RankMath {
34
  *
35
  * @var string
36
  */
37
- public $version = '1.0.10';
38
 
39
  /**
40
  * Rank Math database version.
9
  *
10
  * @wordpress-plugin
11
  * Plugin Name: Rank Math SEO
12
+ * Version: 1.0.11
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
34
  *
35
  * @var string
36
  */
37
+ public $version = '1.0.11';
38
 
39
  /**
40
  * Rank Math database version.
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.10
9
  License: GPL-2.0+
10
  License URI: https://www.gnu.org/licenses/gpl-2.0.txt
11
 
@@ -434,31 +434,36 @@ We look forward to helping you.
434
 
435
  == Changelog ==
436
 
 
 
 
437
  = 1.0.10 [Jan 07, 2019] =
438
- * Added a new filter to change the Breadcrumb items
439
- * Improved the working of Google Search Console. It will now only display the website currently being used, not all other sites linked to your account
 
 
440
  * Improved the bootloader API
441
  * Improved the Focus Keyword content test when more than four words are used in the Focus Keyword.
442
- * Improved the generation and working of default robots.txt file
443
- * Improved the Sitemap commands
444
- * Fixed a compatibility issue with the Elementor plugin where one couldn't scroll past the initial screen in the post editor when both the plugins were active
445
- * Fixed a problem with the WPML plugin. It should work fine now
 
446
  * Fixed an issue with the excerpt_only tag when used to generate automatic SEO meta descriptions
447
- * Fixed an issue with the sentiment analysis as it wasn't working correctly in some rare cases
448
- * Fixed Rollbar warnings so they won't bother anyone again. It will work behind the scene just like it is supposed to
449
- * Fixed an issue with the Product Snippet getting mixed up with the Breadcrumb Schema
450
- * Fixed a problem with the registration form
451
  * Fixed setup wizard errors and warnings
452
  * Fixed an error with the Breadcrumb & Contact shortcode
453
  * Fixed a Social share error
454
- * Fixed some unexpected glitches with the WooCommerce plugin
 
 
 
455
  * Fixed an issue with the Focus Keyword test where the test wasn't working when a word was repeated in the Focus Keyword
456
- * Fixed a major problem with the Thrive Architect plugin
457
  * Fixed an issue with the image size notification when adding OG Image
458
- * Fixed a test in the SEO Analysis module
459
  * Fixed an issue with the import of redirections from the Redirection plugin
460
  * Removed the setup notice on the registration page
461
- * Important performance-related additions
462
 
463
  = 1.0.9 [Dec 26, 2018] =
464
  * Removed debug functions from the plugin to make the Redirections work properly
5
  Tested up to: 5.0.2
6
  Requires at least: 4.6.0
7
  Requires PHP: 5.6
8
+ Stable tag: 1.0.11
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.11 [Jan 08, 2019] =
438
+ * Fixed PHP 5.6 compatibility issues and related notices
439
+
440
  = 1.0.10 [Jan 07, 2019] =
441
+ * Added a new filter to change Breadcrumb items
442
+ * Added a new test to the SEO Analysis module
443
+ * Improved the working of Google Search Console. It will now only display the website currently being used, not all other websites linked to your account.
444
+ * Improved the generation and working of default robots.txt file
445
  * Improved the bootloader API
446
  * Improved the Focus Keyword content test when more than four words are used in the Focus Keyword.
447
+ * Fixed an issue with the sentiment analysis as it wasn't working properly in some rare cases.
448
+ * Fixed Rollbar warnings so they won't bother you again. It will work behind the scene just like it is supposed to.
449
+ * Fixed an issue with the Product Snippet gets mixed up with the Breadcrumb Schema
450
+ * Fixed a compatibility issue with Elementor where you couldn't scroll past the initial screen in post editor when both plugins were active.
451
+ * Fixed an issue with the WPML plugin. It should work fine now.
452
  * Fixed an issue with the excerpt_only tag when used to generate automatic SEO meta descriptions
453
+ * Fixed an issue with the registration form
 
 
 
454
  * Fixed setup wizard errors and warnings
455
  * Fixed an error with the Breadcrumb & Contact shortcode
456
  * Fixed a Social share error
457
+ * Fixed some unexpected Errors with WooCommerce
458
+ * Fixed the sitemap command
459
+ * Fixed a major issue with the Thrive Architect plugin
460
+ * Fixed the PHPUnit
461
  * Fixed an issue with the Focus Keyword test where the test wasn't working when a word was repeated in the Focus Keyword
462
+ * Fixed an issue with the Product Snippet getting mixed up with the Breadcrumb schema
463
  * Fixed an issue with the image size notification when adding OG Image
 
464
  * Fixed an issue with the import of redirections from the Redirection plugin
465
  * Removed the setup notice on the registration page
466
+ * Important performance related additions
467
 
468
  = 1.0.9 [Dec 26, 2018] =
469
  * Removed debug functions from the plugin to make the Redirections work properly
vendor/composer/ClassLoader.php CHANGED
@@ -279,7 +279,7 @@ class ClassLoader
279
  */
280
  public function setApcuPrefix($apcuPrefix)
281
  {
282
- $this->apcuPrefix = function_exists('apcu_fetch') && ini_get('apc.enabled') ? $apcuPrefix : null;
283
  }
284
 
285
  /**
@@ -377,11 +377,11 @@ class ClassLoader
377
  $subPath = $class;
378
  while (false !== $lastPos = strrpos($subPath, '\\')) {
379
  $subPath = substr($subPath, 0, $lastPos);
380
- $search = $subPath.'\\';
381
  if (isset($this->prefixDirsPsr4[$search])) {
 
382
  foreach ($this->prefixDirsPsr4[$search] as $dir) {
383
- $length = $this->prefixLengthsPsr4[$first][$search];
384
- if (file_exists($file = $dir . DIRECTORY_SEPARATOR . substr($logicalPathPsr4, $length))) {
385
  return $file;
386
  }
387
  }
279
  */
280
  public function setApcuPrefix($apcuPrefix)
281
  {
282
+ $this->apcuPrefix = function_exists('apcu_fetch') && filter_var(ini_get('apc.enabled'), FILTER_VALIDATE_BOOLEAN) ? $apcuPrefix : null;
283
  }
284
 
285
  /**
377
  $subPath = $class;
378
  while (false !== $lastPos = strrpos($subPath, '\\')) {
379
  $subPath = substr($subPath, 0, $lastPos);
380
+ $search = $subPath . '\\';
381
  if (isset($this->prefixDirsPsr4[$search])) {
382
+ $pathEnd = DIRECTORY_SEPARATOR . substr($logicalPathPsr4, $lastPos + 1);
383
  foreach ($this->prefixDirsPsr4[$search] as $dir) {
384
+ if (file_exists($file = $dir . $pathEnd)) {
 
385
  return $file;
386
  }
387
  }
vendor/composer/autoload_classmap.php CHANGED
@@ -133,12 +133,12 @@ return array(
133
  'Psr\\Log\\Test\\LoggerInterfaceTest' => $vendorDir . '/psr/log/Psr/Log/Test/LoggerInterfaceTest.php',
134
  'Psr\\Log\\Test\\TestLogger' => $vendorDir . '/psr/log/Psr/Log/Test/TestLogger.php',
135
  'RankMath\\Admin\\Admin' => $baseDir . '/includes/admin/class-admin.php',
 
136
  'RankMath\\Admin\\Admin_Menu' => $baseDir . '/includes/admin/class-admin-menu.php',
137
  'RankMath\\Admin\\Assets' => $baseDir . '/includes/admin/class-assets.php',
138
  'RankMath\\Admin\\CMB2_Fields' => $baseDir . '/includes/admin/class-cmb2-fields.php',
139
  'RankMath\\Admin\\Deactivate_Survey' => $baseDir . '/includes/admin/class-deactivate-survey.php',
140
  'RankMath\\Admin\\Engine' => $baseDir . '/includes/admin/class-engine.php',
141
- 'RankMath\\Admin\\Helper' => $baseDir . '/includes/admin/class-helper.php',
142
  'RankMath\\Admin\\Import_Export' => $baseDir . '/includes/admin/class-import-export.php',
143
  'RankMath\\Admin\\Importers\\AIOSEO' => $baseDir . '/includes/admin/importers/class-aioseo.php',
144
  'RankMath\\Admin\\Importers\\AIO_Rich_Snippet' => $baseDir . '/includes/admin/importers/class-aio-rich-snippet.php',
133
  'Psr\\Log\\Test\\LoggerInterfaceTest' => $vendorDir . '/psr/log/Psr/Log/Test/LoggerInterfaceTest.php',
134
  'Psr\\Log\\Test\\TestLogger' => $vendorDir . '/psr/log/Psr/Log/Test/TestLogger.php',
135
  'RankMath\\Admin\\Admin' => $baseDir . '/includes/admin/class-admin.php',
136
+ 'RankMath\\Admin\\Admin_Helper' => $baseDir . '/includes/admin/class-admin-helper.php',
137
  'RankMath\\Admin\\Admin_Menu' => $baseDir . '/includes/admin/class-admin-menu.php',
138
  'RankMath\\Admin\\Assets' => $baseDir . '/includes/admin/class-assets.php',
139
  'RankMath\\Admin\\CMB2_Fields' => $baseDir . '/includes/admin/class-cmb2-fields.php',
140
  'RankMath\\Admin\\Deactivate_Survey' => $baseDir . '/includes/admin/class-deactivate-survey.php',
141
  'RankMath\\Admin\\Engine' => $baseDir . '/includes/admin/class-engine.php',
 
142
  'RankMath\\Admin\\Import_Export' => $baseDir . '/includes/admin/class-import-export.php',
143
  'RankMath\\Admin\\Importers\\AIOSEO' => $baseDir . '/includes/admin/importers/class-aioseo.php',
144
  'RankMath\\Admin\\Importers\\AIO_Rich_Snippet' => $baseDir . '/includes/admin/importers/class-aio-rich-snippet.php',
vendor/composer/autoload_static.php CHANGED
@@ -179,12 +179,12 @@ class ComposerStaticInite0bd047aa5058f04568aa38dfc5ac000
179
  'Psr\\Log\\Test\\LoggerInterfaceTest' => __DIR__ . '/..' . '/psr/log/Psr/Log/Test/LoggerInterfaceTest.php',
180
  'Psr\\Log\\Test\\TestLogger' => __DIR__ . '/..' . '/psr/log/Psr/Log/Test/TestLogger.php',
181
  'RankMath\\Admin\\Admin' => __DIR__ . '/../..' . '/includes/admin/class-admin.php',
 
182
  'RankMath\\Admin\\Admin_Menu' => __DIR__ . '/../..' . '/includes/admin/class-admin-menu.php',
183
  'RankMath\\Admin\\Assets' => __DIR__ . '/../..' . '/includes/admin/class-assets.php',
184
  'RankMath\\Admin\\CMB2_Fields' => __DIR__ . '/../..' . '/includes/admin/class-cmb2-fields.php',
185
  'RankMath\\Admin\\Deactivate_Survey' => __DIR__ . '/../..' . '/includes/admin/class-deactivate-survey.php',
186
  'RankMath\\Admin\\Engine' => __DIR__ . '/../..' . '/includes/admin/class-engine.php',
187
- 'RankMath\\Admin\\Helper' => __DIR__ . '/../..' . '/includes/admin/class-helper.php',
188
  'RankMath\\Admin\\Import_Export' => __DIR__ . '/../..' . '/includes/admin/class-import-export.php',
189
  'RankMath\\Admin\\Importers\\AIOSEO' => __DIR__ . '/../..' . '/includes/admin/importers/class-aioseo.php',
190
  'RankMath\\Admin\\Importers\\AIO_Rich_Snippet' => __DIR__ . '/../..' . '/includes/admin/importers/class-aio-rich-snippet.php',
179
  'Psr\\Log\\Test\\LoggerInterfaceTest' => __DIR__ . '/..' . '/psr/log/Psr/Log/Test/LoggerInterfaceTest.php',
180
  'Psr\\Log\\Test\\TestLogger' => __DIR__ . '/..' . '/psr/log/Psr/Log/Test/TestLogger.php',
181
  'RankMath\\Admin\\Admin' => __DIR__ . '/../..' . '/includes/admin/class-admin.php',
182
+ 'RankMath\\Admin\\Admin_Helper' => __DIR__ . '/../..' . '/includes/admin/class-admin-helper.php',
183
  'RankMath\\Admin\\Admin_Menu' => __DIR__ . '/../..' . '/includes/admin/class-admin-menu.php',
184
  'RankMath\\Admin\\Assets' => __DIR__ . '/../..' . '/includes/admin/class-assets.php',
185
  'RankMath\\Admin\\CMB2_Fields' => __DIR__ . '/../..' . '/includes/admin/class-cmb2-fields.php',
186
  'RankMath\\Admin\\Deactivate_Survey' => __DIR__ . '/../..' . '/includes/admin/class-deactivate-survey.php',
187
  'RankMath\\Admin\\Engine' => __DIR__ . '/../..' . '/includes/admin/class-engine.php',
 
188
  'RankMath\\Admin\\Import_Export' => __DIR__ . '/../..' . '/includes/admin/class-import-export.php',
189
  'RankMath\\Admin\\Importers\\AIOSEO' => __DIR__ . '/../..' . '/includes/admin/importers/class-aioseo.php',
190
  'RankMath\\Admin\\Importers\\AIO_Rich_Snippet' => __DIR__ . '/../..' . '/includes/admin/importers/class-aio-rich-snippet.php',