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

WordPress Trac noreply at wordpress.org
Wed Feb 15 17:29:20 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.3
Component:  General        |     Version:  trunk
 Severity:  normal         |  Resolution:
 Keywords:                 |     Focuses:
---------------------------+--------------------

Comment (by wonderboymusic):

 I don't think we should do anything to support this use case, because
 calling `wp-load.php` in the wild means every single class in the codebase
 would require this same treatment. However, I understand the desire to
 revert to mitigate breakage. I don't see WordPress moving in the direction
 my original change intended, so the original change becomes mostly
 unnecessary.

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


More information about the wp-trac mailing list