[wp-trac] [WordPress Trac] #62950: PHP deprecation warning in /wp-admin/includes/class-automatic-upgrader-skin.php

WordPress Trac noreply at wordpress.org
Wed Feb 12 11:47:56 UTC 2025


#62950: PHP deprecation warning in /wp-admin/includes/class-automatic-upgrader-
skin.php
-----------------------------+-----------------------------
 Reporter:  nexbridge        |      Owner:  (none)
     Type:  defect (bug)     |     Status:  new
 Priority:  normal           |  Milestone:  Awaiting Review
Component:  Upgrade/Install  |    Version:  6.7.2
 Severity:  normal           |   Keywords:
  Focuses:                   |
-----------------------------+-----------------------------
 The following warnings are being triggered in the above file when the
 WordPress version auto-updates.

 On line 87:

 {{{
 str_contains(): Passing null to parameter #1 ($haystack) of type string is
 deprecated
 }}}

 On line 93:

 {{{
 trim(): Passing null to parameter #1 ($string) of type string is
 deprecated
 }}}

 The PHP version is 8.2.

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


More information about the wp-trac mailing list