[wp-trac] [WordPress Trac] #34558: PasswordHash uses PHP 4 style constructor
WordPress Trac
noreply at wordpress.org
Mon Nov 2 19:22:43 UTC 2015
#34558: PasswordHash uses PHP 4 style constructor
-------------------------------+------------------------------
Reporter: mordauk | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Users | Version: trunk
Severity: normal | Resolution:
Keywords: reporter-feedback | Focuses:
-------------------------------+------------------------------
Changes (by jorbin):
* keywords: => reporter-feedback
Comment:
In [32990] we modified Password hash to have the __construct method, while
keeping the PasswordHash function. This was to ensure there was no
breakage. None of our uses of PasswordHash directly call the php4 style
constructor (that I can tell). It *should* only be used if someone is
subclassing PasswordHash and calling the php4 style constructor.
How were you able to get the deprecation notice? I haven't seen it my
running of PHP7.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/34558#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list