From 4812590582c1ac02a919703e16bd5a06d4153035 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Fri, 24 May 2019 22:58:44 +0000 Subject: [PATCH] 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 --- src/wp-includes/general-template.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/wp-includes/general-template.php b/src/wp-includes/general-template.php index 0ec7336452..633619cf4d 100644 --- a/src/wp-includes/general-template.php +++ b/src/wp-includes/general-template.php @@ -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 );