[wp-hackers] secret-key reference in wp-settings.php?
Glenn Ansley
glenn at glennansley.com
Tue May 20 13:15:07 GMT 2008
Gotcha... I guess the keyword I wasn't paying attention to was DEFAULT in
"Should be exactly the same as the default value of SECRET_KEY"
Thanks.
On Tue, May 20, 2008 at 9:08 AM, Austin Matzko <if.website at gmail.com> wrote:
> 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
> $wp_default_secret_key.
> _______________________________________________
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
> http://lists.automattic.com/mailman/listinfo/wp-hackers
>
More information about the wp-hackers
mailing list