[wp-trac] [WordPress Trac] #56850: pluggable.php - Deprecated errors on PHP 8.1

WordPress Trac noreply at wordpress.org
Wed Oct 19 10:11:40 UTC 2022


#56850: pluggable.php - Deprecated errors on PHP 8.1
------------------------------------+------------------------------
 Reporter:  lenasterg               |       Owner:  (none)
     Type:  defect (bug)            |      Status:  new
 Priority:  normal                  |   Milestone:  Awaiting Review
Component:  Login and Registration  |     Version:  6.1
 Severity:  normal                  |  Resolution:
 Keywords:  has-patch               |     Focuses:
------------------------------------+------------------------------

Comment (by lenasterg):

 Replying to [ticket:56850 lenasterg]:
 > This fixes a
 > PHP Deprecated: trim(): Passing null to parameter #1 ($string) of type
 string is deprecated in wp-includes\pluggable.php on line 598

 Pull request with the fix is the

 https://github.com/WordPress/wordpress-develop/pull/3491

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


More information about the wp-trac mailing list