#39661 closed defect (bug) (wontfix)
Twenty Twelve theme uses title tag instead of add_theme_support( 'title-tag' )
| Reported by: | bplv | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | Bundled Theme | Version: | 4.7.1 |
| Severity: | normal | Keywords: | |
| Cc: | Focuses: |
Description
Use of title tag is highly discouraged on a theme.
We can find this statement in theme review guideline
Avoid hard coding to modify content. Instead, use function parameters, filters and action hooks where appropriate. For example wp_title should be modified using a filter.
This is a must meet requirement for a theme according to theme review guidelines.
Change History (3)
#1
@
10 years ago
- Milestone Awaiting Review
- Resolution → wontfix
- Status new → closed
- Summary TwentyTwelve theme uses title tag instead of add_theme_support( 'title-tag' ) → Twenty Twelve theme uses title tag instead of add_theme_support( 'title-tag' )
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
Hi @bplv, welcome to Trac! Thanks for the ticket.
It's not just Twenty Twelve, most of the older themes (Twenty Ten to Twenty Fourteen) do the same. In #34456, it was decided not to update them to avoid breaking backwards compatibility.
Newer themes (Twenty Fifteen to Twenty Seventeen) use
add_theme_support( 'title-tag' ).