mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-23 01:27:36 +01:00
Docs: Correct description for $seplocation
parameter of wp_title()
.
Props mukesh27, vladlu. Fixes #47370. Built from https://develop.svn.wordpress.org/trunk@45406 git-svn-id: http://core.svn.wordpress.org/trunk@45217 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
61ed726067
commit
eecfa3b4ed
@ -1178,7 +1178,7 @@ function _wp_render_title_tag() {
|
||||
* @param string $sep Optional, default is '»'. How to separate the various items
|
||||
* within the page 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.
|
||||
*/
|
||||
function wp_title( $sep = '»', $display = true, $seplocation = '' ) {
|
||||
@ -1294,9 +1294,9 @@ function wp_title( $sep = '»', $display = true, $seplocation = '' ) {
|
||||
*
|
||||
* @since 2.0.0
|
||||
*
|
||||
* @param string $title Page title.
|
||||
* @param string $sep Title separator.
|
||||
* @param string $seplocation Location of the separator (left or right).
|
||||
* @param string $title Page title.
|
||||
* @param string $sep Title separator.
|
||||
* @param string $seplocation Location of the separator ('left' or 'right').
|
||||
*/
|
||||
$title = apply_filters( 'wp_title', $title, $sep, $seplocation );
|
||||
|
||||
|
@ -13,7 +13,7 @@
|
||||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '5.3-alpha-45405';
|
||||
$wp_version = '5.3-alpha-45406';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
Loading…
Reference in New Issue
Block a user