Make WordPress Core

Changeset 45406


Ignore:
Timestamp:
05/24/2019 10:58:44 PM (5 years ago)
Author:
SergeyBiryukov
Message:

Docs: Correct description for $seplocation parameter of wp_title().

Props mukesh27, vladlu.
Fixes #47370.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/general-template.php

    r45398 r45406  
    11791179 *                            within the page title.
    11801180 * @param bool   $display     Optional, default is true. Whether to display or retrieve title.
    1181  * @param string $seplocation Optional. Direction to display title, 'right'.
     1181 * @param string $seplocation Optional. Location of the separator ('left' or 'right').
    11821182 * @return string|null String on retrieve, null when displaying.
    11831183 */
     
    12951295     * @since 2.0.0
    12961296     *
    1297      * @param string $title Page title.
    1298      * @param string $sep Title separator.
    1299      * @param string $seplocation Location of the separator (left or right).
     1297     * @param string $title       Page title.
     1298     * @param string $sep         Title separator.
     1299     * @param string $seplocation Location of the separator ('left' or 'right').
    13001300     */
    13011301    $title = apply_filters( 'wp_title', $title, $sep, $seplocation );
Note: See TracChangeset for help on using the changeset viewer.