Opened 3 years ago
Closed 3 years ago
#11664 closed enhancement (wontfix)
Constant instead of a variable should be used
| Reported by: |
|
Owned by: |
|
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | Security | Version: | 2.9 |
| Severity: | normal | Keywords: | |
| Cc: |
Description
the global variable $wp_default_secret_key is used to determine wether the has provided secret keys or not.
to not get it altered between it's definition and use, the variable should be replaced with a constant.
Change History (4)
In reviewing #12081 I noticed this ticket.
I'm not sure of the ramifications of preventing it from being changed (or allowing it to be changed), but converting it to a constant will break any plugins that override wp_salt() and utilize the variable.
- Milestone changed from 3.0 to Future Release
- Type changed from defect (bug) to enhancement
Note: See
TracTickets for help on using
tickets.

the has = the user has.