We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6d294b0 commit 3230569Copy full SHA for 3230569
inc/seo-compat.php
@@ -19,12 +19,21 @@ function is_noindex( $post ) {
19
return true; // No post found, treat as noindex.
20
}
21
22
- // Check for Yoast SEO noindex.
+ /*
23
+ * Check in order of number of active installs.
24
+ *
25
+ * To optimize performance for the majority of users, the
26
+ * checks are ordered by the popularity of the SEO plugins.
27
28
+ * Popularity data from the WordPress plugin repository.
29
+ */
30
+
31
+ // Check for Yoast SEO noindex (10 million+).
32
if ( is_yoast_noindex( $post ) ) {
33
return true;
34
35
- // Check All in One SEO noindex.
36
+ // Check All in One SEO noindex (3 million+).
37
if ( is_aioseo_noindex( $post ) ) {
38
39
0 commit comments