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

WordPress Trac noreply at wordpress.org
Mon Nov 10 22:29:42 UTC 2025


#61352: PHP deprecation notice in wp_title()
-----------------------------------+------------------------
 Reporter:  nexbridge              |       Owner:  joedolson
     Type:  defect (bug)           |      Status:  closed
 Priority:  normal                 |   Milestone:  6.9
Component:  Themes                 |     Version:  6.5.5
 Severity:  normal                 |  Resolution:  fixed
 Keywords:  has-patch 2nd-opinion  |     Focuses:
-----------------------------------+------------------------
Changes (by joedolson):

 * status:  reopened => closed
 * resolution:   => fixed


Comment:

 In [changeset:"61198" 61198]:
 {{{
 #!CommitTicketReference repository="" revision="61198"
 Themes: Improve type checking in `wp_title`.

 Follow up to [61108].

 Change type handling to ensure that falsey string values like `0` are
 correctly handled. Improves readability of underlying code by
 consolidating type checks and passing resulting array to the
 `wp_title_parts` filter.

 Props tobiasbg, sabernhardt, sirlouen, wildworks, joedolson, mukesh27.
 Fixes #61352.
 }}}

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


More information about the wp-trac mailing list