Skip to content

Commit d202e46

Browse files
authored
Merge pull request #1718 from ocean90/patch-1
Add RECOVERY_MODE_COOKIE to whitelisted core constants
2 parents 744b379 + 1418e16 commit d202e46

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

WordPress/Sniffs/NamingConventions/PrefixAllGlobalsSniff.php

+1
Original file line numberDiff line numberDiff line change
@@ -164,6 +164,7 @@ class PrefixAllGlobalsSniff extends AbstractFunctionParameterSniff {
164164
'ADMIN_COOKIE_PATH' => true,
165165
'PLUGINS_COOKIE_PATH' => true,
166166
'COOKIE_DOMAIN' => true,
167+
'RECOVERY_MODE_COOKIE' => true,
167168
'FORCE_SSL_ADMIN' => true,
168169
'FORCE_SSL_LOGIN' => true,
169170
'AUTOSAVE_INTERVAL' => true,

0 commit comments

Comments
 (0)