[wp-trac] [WordPress Trac] #34930: Wordpress 4.4 - wp_title filter no longer being called
WordPress Trac
noreply at wordpress.org
Wed Dec 9 08:50:16 UTC 2015
#34930: Wordpress 4.4 - wp_title filter no longer being called
-------------------------------+------------------------------
Reporter: amiga500 | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: General | Version: 4.4
Severity: normal | Resolution:
Keywords: reporter-feedback | Focuses:
-------------------------------+------------------------------
Changes (by swissspidy):
* keywords: => reporter-feedback
Comment:
Hi there
Which theme are you using? Did you perhaps update your theme too?
Themes are encouraged to not use `wp_title()` anymore but instead use
`add_theme_support( 'title-tag' );` (available since 4.1). See
https://make.wordpress.org/core/2015/10/20/document-title-in-4-4/ for more
information.
If your theme already implements the new method, you need to use one of
the new filters.
> Sometimes i do see it called but it isn't consistent anymore.
That doesn't really make sense to me. Are you sure this is the case?
--
Ticket URL: <https://core.trac.wordpress.org/ticket/34930#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list