[wp-trac] [WordPress Trac] #54914: Deprecation warning for PHP 8.1 setcookie

WordPress Trac noreply at wordpress.org
Fri Feb 4 01:29:37 UTC 2022


#54914: Deprecation warning for PHP 8.1 setcookie
--------------------------+------------------------------
 Reporter:  shenyanzhi    |       Owner:  (none)
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  General       |     Version:  5.9
 Severity:  major         |  Resolution:
 Keywords:  php81         |     Focuses:
--------------------------+------------------------------
Description changed by sabernhardt:

Old description:

> Deprecated: setcookie(): Passing null to parameter #5 ($domain) of type
> string is deprecated in /www/wwwroot/php81.a.com/wp-includes/option.php
> on line 1109

New description:

 `Deprecated: setcookie(): Passing null to parameter #5 ($domain) of type
 string is deprecated in .../wp-includes/option.php on line 1109`

--

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


More information about the wp-trac mailing list