- Timestamp:
- 10/04/2022 03:57:29 AM (14 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/class-wp-recovery-mode-cookie-service.php
r54249 r54379 199 199 */ 200 200 private function recovery_mode_hash( $data ) { 201 if ( ! defined( 'AUTH_KEY' ) || AUTH_KEY === __( 'put your unique phrase here' ) ) { 201 $default_keys = array_unique( 202 array( 203 'put your unique phrase here', 204 /* 205 * translators: This string should only be translated if wp-config-sample.php is localized. 206 * You can check the localized release package or 207 * https://i18n.svn.wordpress.org/<locale code>/branches/<wp version>/dist/wp-config-sample.php 208 */ 209 __( 'put your unique phrase here' ), 210 ) 211 ); 212 213 if ( ! defined( 'AUTH_KEY' ) || in_array( AUTH_KEY, $default_keys, true ) ) { 202 214 $auth_key = get_site_option( 'recovery_mode_auth_key' ); 203 215 … … 214 226 } 215 227 216 if ( ! defined( 'AUTH_SALT' ) || AUTH_SALT === 'put your unique phrase here'|| AUTH_SALT === $auth_key ) {228 if ( ! defined( 'AUTH_SALT' ) || in_array( AUTH_SALT, $default_keys, true ) || AUTH_SALT === $auth_key ) { 217 229 $auth_salt = get_site_option( 'recovery_mode_auth_salt' ); 218 230
Note: See TracChangeset
for help on using the changeset viewer.