[wp-trac] [WordPress Trac] #58157: PHP Deprecated: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in wp-includes/formatting.php
WordPress Trac
noreply at wordpress.org
Wed Apr 19 20:49:36 UTC 2023
#58157: PHP Deprecated: str_replace(): Passing null to parameter #3 ($subject) of
type array|string is deprecated in wp-includes/formatting.php
-------------------------------+---------------------
Reporter: salvoaranzulla | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: 6.3
Component: Media | Version:
Severity: normal | Resolution:
Keywords: php81 needs-patch | Focuses:
-------------------------------+---------------------
Comment (by jrf):
This issue needs a backtrace to see exactly where the function is called
from.
Hiding the error in the `ent2ncr()` function is not the way to go. This
should be solved at the point the function is **called** with invalid
data.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/58157#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list