[wp-trac] [WordPress Trac] #62298: Update default parameter of `retrieve_password()` for PHP8 compatibility
WordPress Trac
noreply at wordpress.org
Thu Oct 24 23:38:36 UTC 2024
#62298: Update default parameter of `retrieve_password()` for PHP8 compatibility
-------------------------------+-----------------------------
Reporter: peterwilsoncc | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Users | Version:
Severity: normal | Keywords: php-8
Focuses: php-compatibility |
-------------------------------+-----------------------------
The parameter default should be'' as line 3118 will throw a PHP
Deprecation for passing null to trim().
Props @afragen for reporting.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/62298>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list