Ticket #6990 (closed defect: fixed)

Opened 6 months ago

Last modified 6 months ago

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

Reported by: DD32 Assigned to: anonymous
Priority: normal Milestone: 2.6
Component: Administration Version: 2.6
Severity: normal Keywords: has-patch
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

6990.diff (480 bytes) - added by DD32 on 05/18/08 08:05:30.

Change History

05/18/08 08:05:30 changed by DD32

  • attachment 6990.diff added.

05/18/08 20:06:32 changed by ryan

  • status changed from new to closed.
  • resolution set to fixed.

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