[wp-trac] [WordPress Trac] #51643: Function capital_P_dangit is applied directly to document title
WordPress Trac
noreply at wordpress.org
Tue Oct 27 12:22:07 UTC 2020
#51643: Function capital_P_dangit is applied directly to document title
--------------------------+-----------------------------
Reporter: dragunoff | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Formatting | Version:
Severity: normal | Keywords:
Focuses: |
--------------------------+-----------------------------
This formatting function is normally applied via filters. But in
`wp_get_document_title` it's called directly and thus its effect is forced
onto the user. It should instead be hooked to the filter
`document_title_parts`.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/51643>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list