[wp-trac] [WordPress Trac] #29694: wp_not_installed() has an unbounded check for "install.php"

WordPress Trac noreply at wordpress.org
Wed Nov 26 20:55:20 UTC 2014


#29694: wp_not_installed() has an unbounded check for "install.php"
--------------------------------------+------------------------
 Reporter:  nacin                     |       Owner:  joemcgill
     Type:  defect (bug)              |      Status:  closed
 Priority:  normal                    |   Milestone:  4.1
Component:  Bootstrap/Load            |     Version:
 Severity:  normal                    |  Resolution:  fixed
 Keywords:  good-first-bug has-patch  |     Focuses:
--------------------------------------+------------------------
Changes (by ocean90):

 * status:  assigned => closed
 * resolution:   => fixed


Comment:

 In [changeset:"30581"]:
 {{{
 #!CommitTicketReference repository="" revision="30581"
 Remove unbounded check for "install.php" in `wp_not_installed()`.

 The check is true for `wp-admin/plugin-install.php` and `wp-admin/theme-
 install.php` too. This will end in a redirect to `/wp-admin/upgrade.php`
 or a screen with a bunch of errors.
 The `WP_INSTALLING` constant was added in WordPress 1.5.1 to `wp-
 admin/install.php` which makes the check for "install.php" redundant.

 props joemcgill.
 fixes #29694.
 }}}

--
Ticket URL: <https://core.trac.wordpress.org/ticket/29694#comment:6>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list