Docs: Update the hook doc for the pre_get_document_title filter to explain ''what'' value is filterable rather than ''why'' the value is filterable :-)

The hook was introduced in [35294].

See #31078. See #32246.

Built from https://develop.svn.wordpress.org/trunk@35298


git-svn-id: http://core.svn.wordpress.org/trunk@35264 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Drew Jaynes 2015-10-20 18:14:24 +00:00
parent 0a1026ac10
commit 0ea90a9174
2 changed files with 5 additions and 2 deletions

View File

@ -793,7 +793,10 @@ function has_site_icon( $blog_id = 0 ) {
function wp_get_document_title() {
/**
* Allows to short-circuit the title generation.
* Filter the document title before it is generated.
*
* Passing a non-empty value will short-circuit wp_get_document_title(),
* returning that value instead.
*
* @since 4.4.0
*

View File

@ -4,7 +4,7 @@
*
* @global string $wp_version
*/
$wp_version = '4.4-alpha-35297';
$wp_version = '4.4-alpha-35298';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.