[wp-trac] [WordPress Trac] #58957: php 8.2 warning -

WordPress Trac noreply at wordpress.org
Wed Aug 2 09:06:51 UTC 2023


#58957: php 8.2 warning -
--------------------------+-----------------------------
 Reporter:  Andyjay2012   |      Owner:  (none)
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  General       |    Version:
 Severity:  normal        |   Keywords:
  Focuses:                |
--------------------------+-----------------------------
 When using php8.2 a warning is generated:

 Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type
 string is deprecated in /home/website/public_html/wp-
 includes/functions.php on line 7053

 Deprecated: str_replace(): Passing null to parameter #3 ($subject) of type
 array|string is deprecated in /home/website/public_html/wp-
 includes/functions.php on line 2165

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/58957>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list