[wp-trac] [WordPress Trac] #58104: Deprecated function in PHP 8.1 with WordPress 6.2

WordPress Trac noreply at wordpress.org
Fri Apr 7 12:33:36 UTC 2023


#58104: Deprecated function in PHP 8.1 with WordPress 6.2
----------------------------+-----------------------------
 Reporter:  salvoaranzulla  |      Owner:  (none)
     Type:  defect (bug)    |     Status:  new
 Priority:  normal          |  Milestone:  Awaiting Review
Component:  Administration  |    Version:  6.2
 Severity:  normal          |   Keywords:
  Focuses:                  |
----------------------------+-----------------------------
 On WordPress administration with WordPress 6.2, I see 2 deprecated
 functions:

 [07-Apr-2023 12:26:46 UTC] PHP Deprecated:  strpos(): Passing null to
 parameter #1 ($haystack) of type string is deprecated in /.../wp-
 includes/functions.php on line 7053


 [07-Apr-2023 12:26:46 UTC] PHP Deprecated:  str_replace(): Passing null to
 parameter #3 ($subject) of type array|string is deprecated in /.../wp-
 includes/functions.php on line 2165

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


More information about the wp-trac mailing list