Make WordPress Core

Changeset 38348

Timestamp:
08/24/2016 03:59:00 PM (8 years ago)
Author:
SergeyBiryukov
Message:

Docs: Improve the docs for the_title() and make them more consistent with the_title_attribute().

Props ixkaito, swissspidy.
Fixes #37732.

File:
1 edited

Legend:

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

    r38327 r38348  
    3131
    3232/**
    33  * Display or retrieve the current post title with optional content.
     33 * Display or retrieve the current post title with optional .
    3434 *
    3535 * @since 0.71
    3636 *
    37  * @param string $before Optional. Content to prepend to the title.
    38  * @param string $after  Optional. Content to append to the title.
    39  * @param bool   $echo   Optional, default to true.Whether to display or return.
    40  * @return string|void String if $echo parameter is false.
     37 * @param string $before Optional. .
     38 * @param string $after  Optional. .
     39 * @param bool   $echo   Optional.
     40 * @return string|void is false.
    4141 */
    4242function the_title( $before = '', $after = '', $echo = true ) {
Note: See TracChangeset for help on using the changeset viewer.