[wp-hackers] secret-key reference in wp-settings.php?

Austin Matzko if.website at gmail.com
Tue May 20 13:08:57 GMT 2008

On Tue, May 20, 2008 at 8:58 AM, Glenn Ansley <glenn at glennansley.com> wrote:
> I was wondering what the purpose of line 285 in wp-settings is The comments
> above it say "Should be exactly the same as the default value of SECRET_KEY
> in wp-config-sample.php @since 2.5"
> Is this deprecated? The comment makes it sound like I'm supposed to be
> changing that as well as the constant in wp-config.php

By having the default secret key value stored in the
$wp_default_secret_key variable, WordPress can check whether someone
is using the default key by seeing if $wp_default_secret_key and
SECRET_KEY are identical.   So you don't need to do anything with

More information about the wp-hackers mailing list