[wp-trac] [WordPress Trac] #56340: PHP8.1 E_DEPRECATED in PasswordHash::gensalt_blowfish
WordPress Trac
noreply at wordpress.org
Mon Feb 13 09:07:05 UTC 2023
#56340: PHP8.1 E_DEPRECATED in PasswordHash::gensalt_blowfish
---------------------------------------------------+-----------------------
Reporter: hanshenrik | Owner: audrasjb
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 6.2
Component: External Libraries | Version:
Severity: minor | Resolution: fixed
Keywords: has-patch php81 has-unit-tests commit | Focuses:
---------------------------------------------------+-----------------------
Changes (by audrasjb):
* owner: (none) => audrasjb
* status: new => closed
* resolution: => fixed
Comment:
In [changeset:"55310" 55310]:
{{{
#!CommitTicketReference repository="" revision="55310"
External Libraries: Prevent a PHP 8.1 deprecation notice in
`PasswordHash::gensalt_blowfish()`.
This changeset uses an `(int)` cast to prevent a PHP 8.1 deprecation
notice for "Implicit conversation from float to int loses precision" in
`PasswordHash::gensalt_blowfish()`.
Props hanshenrik, jrf, desrosj, costdev.
Fixes #56340.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/56340#comment:10>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list