[wp-trac] [WordPress Trac] #57581: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in functions.php

WordPress Trac noreply at wordpress.org
Tue Aug 8 19:13:09 UTC 2023


#57581: str_replace(): Passing null to parameter #3 ($subject) of type array|string
is deprecated in functions.php
-------------------------------------+----------------------
 Reporter:  ipajen                   |       Owner:  (none)
     Type:  defect (bug)             |      Status:  closed
 Priority:  normal                   |   Milestone:
Component:  General                  |     Version:  6.2
 Severity:  normal                   |  Resolution:  invalid
 Keywords:  PHP81 close 2nd-opinion  |     Focuses:
-------------------------------------+----------------------
Changes (by hellofromTonya):

 * status:  new => closed
 * resolution:   => invalid
 * milestone:  6.4 =>


Comment:

 The issue is in the plugin. I agree the fix needs to happen in the plugin.
 Thus, I'll close this ticket.

 I also agree that an architectural, structured approach needs to happen.
 More information can be provided to help developers and users. But that
 discussion and effort should happen across all of Core, not just in this
 ticket. Thus, a new ticket and/or proposal is needed. I'll take the action
 item to get the ball rolling.

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


More information about the wp-trac mailing list