[wp-trac] [WordPress Trac] #60905: PHP Deprecated messages in class-automatic-upgrader-skin.php

WordPress Trac noreply at wordpress.org
Wed Apr 3 11:42:14 UTC 2024


#60905: PHP Deprecated messages in class-automatic-upgrader-skin.php
-------------------------------+-----------------------------
 Reporter:  lewart3            |      Owner:  (none)
     Type:  defect (bug)       |     Status:  new
 Priority:  normal             |  Milestone:  Awaiting Review
Component:  Upgrade/Install    |    Version:  6.4.3
 Severity:  minor              |   Keywords:
  Focuses:  php-compatibility  |
-------------------------------+-----------------------------
 The following pair of messages were logged seven times as
 WordPress automatically updated from 6.4.3 to 6.5.

 {{{
 PHP Deprecated:  str_contains(): Passing null to parameter #1 ($haystack)
 of type string is deprecated in /.../wp-admin/includes/class-automatic-
 upgrader-skin.php on line 87
 PHP Deprecated:  trim(): Passing null to parameter #1 ($string) of type
 string is deprecated in /.../wp-admin/includes/class-automatic-upgrader-
 skin.php on line 93
 }}}

 wp-config.php includes:

 {{{
 define( 'WP_DEBUG', true );
 define( 'WP_DEBUG_LOG', '/var/log/wordpress/debug.log' );
 define( 'WP_AUTO_UPDATE_CORE', true );
 }}}

 PHP version is 8.2.7

 wp-admin/includes/class-automatic-upgrader-skin.php
 is unchanged from WordPress 6.4.3 to 6.5.

 Thank you!
 Dan

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


More information about the wp-trac mailing list