[wp-trac] [WordPress Trac] #61352: PHP deprecation notice in wp_title()

WordPress Trac noreply at wordpress.org
Tue Aug 26 18:00:32 UTC 2025


#61352: PHP deprecation notice in wp_title()
--------------------------+---------------------
 Reporter:  nexbridge     |       Owner:  (none)
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  6.9
Component:  Themes        |     Version:  6.5.5
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |     Focuses:
--------------------------+---------------------

Comment (by nimeshatxecurify):

 == Bug Report
 === Description
 ✅ This report validates whether the issue can be reproduced, and whether
 the indicated patch works as expected.

 `[26-Aug-2025 17:50:04 UTC] PHP Deprecated:  explode(): Passing null to
 parameter #2 ($string) of type string is deprecated in /var/www/src/wp-
 includes/general-template.php on line 1439`

 Patch Tested : https://github.com/WordPress/wordpress-develop/pull/8729

 === Environment
 - WordPress: 6.9-alpha-60093-src
 - PHP: 8.2.29
 - Server: nginx/1.29.1
 - Database: mysqli (Server: 8.4.6 / Client: mysqlnd 8.2.29)
 - Browser: Firefox 142.0
 - OS: Linux
 - Theme: Twenty Twenty 2.9
 - MU Plugins: None activated
 - Plugins:
   * Test Reports 1.2.0
   * WP 61352 Repro 1.0

 === Actual Results
 1. ✅ Error condition occurs (reproduced).
 2. ✅ Issue resolved with patch.

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


More information about the wp-trac mailing list