You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
'message' => 'Setting `suppress_filters` to `true` is prohibited.',
35
+
'keys' => [
36
+
'suppress_filters',
37
+
],
38
+
],
42
39
'PostNotIn' => [
40
+
'name' => 'PostNotIn',
43
41
'type' => 'warning',
44
-
'message' => 'Using `exclude`, which is subsequently used by `post__not_in`, should be done with caution, see https://docs.wpvip.com/how-tos/improve-performance-by-removing-usage-of-post__not_in/ for more information.',
42
+
'message' => 'Using exclusionary parameters, like %s, in calls to get_posts() should be done with caution, see https://wpvip.com/documentation/performance-improvements-by-removing-usage-of-post__not_in/ for more information.',
45
43
'keys' => [
44
+
'post__not_in',
46
45
'exclude',
47
46
],
48
47
],
49
48
];
50
49
}
51
50
52
-
/**
53
-
* Process this test when one of its tokens is encountered
54
-
*
55
-
* @param int $stackPtr The position of the current token in the stack passed in $tokens.
$message = 'Using `post__not_in` should be done with caution, see https://docs.wpvip.com/how-tos/improve-performance-by-removing-usage-of-post__not_in/ for more information.';
0 commit comments