[wp-trac] [WordPress Trac] #62845: Deprecated: str_replace() - Passing null as $subject in PHP 8.x

WordPress Trac noreply at wordpress.org
Mon Jan 27 16:04:48 UTC 2025


#62845: Deprecated: str_replace() - Passing null as $subject in PHP 8.x
-------------------------+-------------------------------------------------
 Reporter:  madum        |       Owner:  (none)
     Type:  defect       |      Status:  closed
  (bug)                  |
 Priority:  normal       |   Milestone:
Component:  General      |     Version:
 Severity:  normal       |  Resolution:  duplicate
 Keywords:  dev-         |     Focuses:  administration, template, php-
  feedback               |  compatibility
-------------------------+-------------------------------------------------
Changes (by sabernhardt):

 * status:  new => closed
 * resolution:   => duplicate
 * severity:  major => normal
 * milestone:  Awaiting Review =>


Comment:

 I'll close this ticket as a duplicate, and #57581 seems to be more
 appropriate for the general idea of checking types in these functions.

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


More information about the wp-trac mailing list