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
// Disable when there is no post ID available for cache purging. Page caching plugins can only reliably be told to invalidate a cached page when a post is available to trigger
@@ -139,7 +139,7 @@ function od_get_disabled_reasons(): array {
139
139
* is_embed: bool,
140
140
* is_preview: bool,
141
141
* is_customize_preview: bool,
142
-
* not_get_request: bool,
142
+
* non_get_request: bool,
143
143
* no_cache_purge_post_id: bool
144
144
* } $disabled_flags Flags indicating which conditions are disabling optimization.
145
145
*/
@@ -152,7 +152,7 @@ function od_get_disabled_reasons(): array {
152
152
'is_embed' => __( 'Page is not optimized because it is an embed.', 'optimization-detective' ),
153
153
'is_preview' => __( 'Page is not optimized because it is a preview.', 'optimization-detective' ),
154
154
'is_customize_preview' => __( 'Page is not optimized because it is a customize preview.', 'optimization-detective' ),
155
-
'not_get_request' => __( 'Page is not optimized because it is not a GET request.', 'optimization-detective' ),
155
+
'non_get_request' => __( 'Page is not optimized because it is not a GET request.', 'optimization-detective' ),
156
156
'no_cache_purge_post_id' => __( 'Page is not optimized because there is no post ID available for cache purging.', 'optimization-detective' ),
0 commit comments