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

WordPress Trac noreply at wordpress.org
Tue Apr 4 09:41:53 UTC 2017


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

Comment (by ocean90):

 Replying to [comment:3 dd32]:
 > Alternative: Revert [38371] in trunk/4.8, switch to `require_once()` in
 `wp-settings.php` for 4.7 to avoid extra file churn in the minor, but also
 avoid this scenario.

 +1 for this approach.

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


More information about the wp-trac mailing list