[wp-trac] [WordPress Trac] #61352: PHP deprecation warning in /wp-includes/general-template.php

WordPress Trac noreply at wordpress.org
Mon Jun 3 10:06:26 UTC 2024


#61352: PHP deprecation warning in /wp-includes/general-template.php
--------------------------+-----------------------------
 Reporter:  nexbridge     |      Owner:  (none)
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  General       |    Version:  6.5.3
 Severity:  normal        |   Keywords:
  Focuses:                |
--------------------------+-----------------------------
 I'm getting the following warning on what is currently the latest version
 of WordPress:

 {{{
 PHP Deprecated:  explode(): Passing null to parameter #2 ($string) of type
 string is deprecated in /wp-includes/general-template.php on line 1425
 }}}

 This is the line in question:

 {{{
 $title_array = apply_filters( 'wp_title_parts', explode( $t_sep, $title )
 );
 }}}

 The PHP version is 8.2.

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


More information about the wp-trac mailing list