[wp-trac] [WordPress Trac] #40812: Allow wp-login.php page title separator to be filtered
WordPress Trac
noreply at wordpress.org
Thu Jun 29 12:45:36 UTC 2017
#40812: Allow wp-login.php page title separator to be filtered
------------------------------------+------------------
Reporter: henry.wright | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: 4.9
Component: Login and Registration | Version:
Severity: normal | Resolution:
Keywords: has-patch | Focuses:
------------------------------------+------------------
Comment (by swissspidy):
[attachment:40812-wp_get_document_title.patch] is only half of the
solution because of the earlier comment:
> The latter might be a bit tricky, because `wp_get_document_title()`
doesn't accept a predefined title like `login_header()` does, but we could
probably work around that using `document_title_parts` filter.
We'd need to hook in to the `document_title_parts` filter to make sure the
login title is correct.
If we were to go with [attachment:40812-document_title_separator.patch],
the filter needs to be documented like so:
{{{
/** This filter is documented in wp-includes/general-template.php */
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/40812#comment:9>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list