PluginProbe
Search Atlas SEO – OTTO AI SEO Automation for WordPress / 2.7.1
Search Atlas SEO – OTTO AI SEO Automation for WordPress v2.7.1
2.7.1 2.7.2 2.7.0 2.6.26 2.6.25 2.6.24 2.6.23 2.6.22 2.6.21 2.6.20 2.6.19 2.6.18 2.6.17 2.6.16 2.6.15 2.6.14 2.6.13 2.6.12 2.6.11 2.6.10 2.6.9 2.6.8 2.6.7 2.6.6 2.6.5 All 141 releases
← All changes | includes/class-metasync-admin-navigation.php +5 -5 2.7.0 → 2.7.1 View file →
@@ -899,10 +899,10 @@
899 899 // WordPress cannot resolve titles for pages registered under an empty
900 900 // parent, even though those pages remain reachable by URL. Restore the
901 901 // standard admin title format for our registered pages only.
902 902 add_filter('admin_title', function($admin_title, $title) use (&$admin_page_titles) {
903 - $current_page = isset($_GET['page']) && is_string($_GET['page'])
904 - ? sanitize_text_field(wp_unslash($_GET['page']))
903 + $current_page = isset($_GET['page']) && is_string($_GET['page']) // phpcs:ignore WordPress.Security.NonceVerification.Recommended -- read-only page slug for the admin title
904 + ? sanitize_text_field(wp_unslash($_GET['page'])) // phpcs:ignore WordPress.Security.NonceVerification.Recommended -- read-only page slug for the admin title
905 905 : '';
906 906
907 907 if (empty($title) && isset($admin_page_titles[$current_page])) {
908 908 $site_title = is_network_admin() || is_user_admin()
@@ -910,9 +910,9 @@
910 910 : get_bloginfo('name');
911 911
912 912 $admin_title = sprintf(
913 913 /* translators: 1: Admin page title, 2: Site or network title. */
914 - __('%1$s ‹ %2$s — WordPress'),
914 + __('%1$s ‹ %2$s — WordPress', 'metasync'),
915 915 $admin_page_titles[$current_page],
916 916 $site_title
917 917 );
918 918 }
@@ -1457,10 +1457,10 @@
1457 1457
1458 1458 <?php
1459 1459 $page_slug = Metasync_Admin::$page_slug;
1460 1460 $is_plugin_page = (
1461 - (isset($_GET['page']) && strpos($_GET['page'], $page_slug) !== false) ||
1462 - (isset($_GET['page']) && strpos($_GET['page'], 'searchatlas') !== false)
1461 + (isset($_GET['page']) && strpos($_GET['page'], $page_slug) !== false) || // phpcs:ignore WordPress.Security.NonceVerification.Recommended -- read-only page check for an inline config script
1462 + (isset($_GET['page']) && strpos($_GET['page'], 'searchatlas') !== false) // phpcs:ignore WordPress.Security.NonceVerification.Recommended -- read-only page check for an inline config script
1463 1463 );
1464 1464 if ($is_plugin_page):
1465 1465 ?>
1466 1466 <script type="text/javascript">