[wp-trac] [WordPress Trac] #39445: Add class_exists() check before defining the PasswordHash class

WordPress Trac noreply at wordpress.org
Thu Apr 6 18:00:18 UTC 2017


#39445: Add class_exists() check before defining the PasswordHash class
------------------------------+-------------------------
 Reporter:  DavidAnderson     |       Owner:  swissspidy
     Type:  defect (bug)      |      Status:  closed
 Priority:  normal            |   Milestone:  4.7.4
Component:  General           |     Version:  4.7
 Severity:  normal            |  Resolution:  fixed
 Keywords:  has-patch commit  |     Focuses:
------------------------------+-------------------------
Changes (by swissspidy):

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


Comment:

 In [changeset:"40387"]:
 {{{
 #!CommitTicketReference repository="" revision="40387"
 Load: Only load `PasswordHash` class when needed.

 This reverts [38371] which loaded `class-phpass.php` early in `wp-
 settings.php` and in turn caused backward compatibility problems.

 Props DavidAnderson, ketuchetan.
 Fixes #39445.
 }}}

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


More information about the wp-trac mailing list