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

WordPress Trac noreply at wordpress.org
Thu Jan 5 02:02:12 UTC 2017


#39445: Add class_exists() check before defining the PasswordHash class
---------------------------+--------------------
 Reporter:  DavidAnderson  |       Owner:
     Type:  defect (bug)   |      Status:  new
 Priority:  normal         |   Milestone:  4.7.1
Component:  General        |     Version:  trunk
 Severity:  normal         |  Resolution:
 Keywords:                 |     Focuses:
---------------------------+--------------------

Comment (by 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.

 The con of changing this back, and even more of delaying it until 4.8, is
 that if anyone who between 4.7.0 and $release who expects the class to
 exist will hit a fatal. I can't see a reason for most users to need it.

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


More information about the wp-trac mailing list