[wp-trac] [WordPress Trac] #61352: PHP deprecation warning in /wp-includes/general-template.php
WordPress Trac
noreply at wordpress.org
Fri Apr 25 09:06:35 UTC 2025
#61352: PHP deprecation warning in /wp-includes/general-template.php
--------------------------+---------------------
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 neo2k23):
@sabernhardt This is all about wordpress being php compatible. Why
checking for a empty($title) in above code as the cause of the problem is
the filter with the explode call in general-template.php on line 1439.
The only logical fix would be checking $title before the filter is called
or in that explode call on line 1439 and if $title is empty and if so make
sure its a empty string.
There are many cases why one can land on that line with $title == null.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/61352#comment:17>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list