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

WordPress Trac noreply at wordpress.org
Tue Jan 3 13:34:01 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:
---------------------------+--------------------
Changes (by dd32):

 * milestone:  Awaiting Review => 4.7.1


Comment:

 We should probably just revert [38371] here honestly. I can't see any
 benefits in loading the class on every pageload when it's not needed.

 Failing that, switching it back to a `require_once()`.

 I'm milestoning this for 4.7.x for review.

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


More information about the wp-trac mailing list