Docs: Correct description for $seplocation
parameter of wp_title()
.
Props mukesh27, vladlu. Fixes #47370. git-svn-id: https://develop.svn.wordpress.org/trunk@45406 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
fce8910a2d
commit
4812590582
@ -1178,7 +1178,7 @@ function _wp_render_title_tag() {
|
|||||||
* @param string $sep Optional, default is '»'. How to separate the various items
|
* @param string $sep Optional, default is '»'. How to separate the various items
|
||||||
* within the page title.
|
* within the page title.
|
||||||
* @param bool $display Optional, default is true. Whether to display or retrieve title.
|
* @param bool $display Optional, default is true. Whether to display or retrieve title.
|
||||||
* @param string $seplocation Optional. Direction to display title, 'right'.
|
* @param string $seplocation Optional. Location of the separator ('left' or 'right').
|
||||||
* @return string|null String on retrieve, null when displaying.
|
* @return string|null String on retrieve, null when displaying.
|
||||||
*/
|
*/
|
||||||
function wp_title( $sep = '»', $display = true, $seplocation = '' ) {
|
function wp_title( $sep = '»', $display = true, $seplocation = '' ) {
|
||||||
@ -1294,9 +1294,9 @@ function wp_title( $sep = '»', $display = true, $seplocation = '' ) {
|
|||||||
*
|
*
|
||||||
* @since 2.0.0
|
* @since 2.0.0
|
||||||
*
|
*
|
||||||
* @param string $title Page title.
|
* @param string $title Page title.
|
||||||
* @param string $sep Title separator.
|
* @param string $sep Title separator.
|
||||||
* @param string $seplocation Location of the separator (left or right).
|
* @param string $seplocation Location of the separator ('left' or 'right').
|
||||||
*/
|
*/
|
||||||
$title = apply_filters( 'wp_title', $title, $sep, $seplocation );
|
$title = apply_filters( 'wp_title', $title, $sep, $seplocation );
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user