[wp-trac] [WordPress Trac] #61555: Add deprecation notice to wp_title()
WordPress Trac
noreply at wordpress.org
Wed Jul 3 20:37:37 UTC 2024
#61555: Add deprecation notice to wp_title()
------------------------------------+------------------------------
Reporter: bedas | Owner: (none)
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Themes | Version:
Severity: normal | Resolution:
Keywords: needs-docs 2nd-opinion | Focuses:
------------------------------------+------------------------------
Comment (by sabernhardt):
I made a few Codex changes for now:
- Replaced the
[https://codex.wordpress.org/Theme_Development#Document_Head_.28header.php.29
sentence about `wp_title`] with "Use the
[https://codex.wordpress.org/Title_Tag Title_Tag] theme feature to set the
`<title>` element within `wp_head()`" (and moved it below the list item
about `wp_head()`).
- Updated the Document Header section in the
[https://codex.wordpress.org/es:Desarrollo_de_Temas#Document_Head_.28header.php.29
Spanish page] (which was not translated anyway) to match the revised
English content.
- Removed the hardcoded `title` and stylesheet from the examples in the
[https://codex.wordpress.org/ko:Theme_Development#.EB.AC.B8.EC.84.9C_.ED.97.A4.EB.8D.94_.28header.php.29
Korean] and [https://codex.wordpress.org/zh-
tw:%E4%B8%BB%E9%A1%8C%E9%96%8B%E7%99%BC#Head_.E6.AA.94.28header.php.29
Chinese] pages.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/61555#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list