Opened 17 years ago
Closed 17 years ago
#6990 closed defect (bug) (fixed)
COOKIEHASH not defined on pages which contain 'install.php' in the url
Reported by: |
|
Owned by: | |
---|---|---|---|
Milestone: | 2.6 | Priority: | normal |
Severity: | normal | Version: | 2.6 |
Component: | Administration | Keywords: | has-patch |
Focuses: | Cc: |
Description
As part of #6015 I ran into a issue with naming a admin page 'plugin-install.php', As it turns out, The reason is that the COOKIEHASH is not defined for the installer pages, Which is fine, Exept that the way its checked is looking for 'install.php' anywhere in the URL.
I've attached a patch which checks for WP_INSTALLING being defined instead.
Attachments (1)
Change History (2)
Note: See
TracTickets for help on using
tickets.
(In [7947]) Check WP_INSTALLING when setting cookiehash. Props DD32. fixes #6990