Make WordPress Core

Opened 16 years ago

Closed 16 years ago

#6990 closed defect (bug) (fixed)

COOKIEHASH not defined on pages which contain 'install.php' in the url

Reported by: dd32's profile DD32 Owned by:
Milestone: 2.6 Priority: normal
Severity: normal Version: 2.6
Component: Administration Keywords: has-patch
Focuses: Cc:


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)

6990.diff (480 bytes) - added by DD32 16 years ago.

Download all attachments as: .zip

Change History (2)

16 years ago

#1 @ryan
16 years ago

  • Resolution set to fixed
  • Status changed from new to closed

(In [7947]) Check WP_INSTALLING when setting cookiehash. Props DD32. fixes #6990

Note: See TracTickets for help on using tickets.