Make WordPress Core

Ticket #37732: 37732.3.diff

File 37732.3.diff, 944 bytes (added by ixkaito, 7 years ago)
  • src/wp-includes/post-template.php

    diff --git src/wp-includes/post-template.php src/wp-includes/post-template.php
    index be15252..5dbeafc 100644
    function get_the_ID() { 
    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. Content to prepend to the title. Default empty.
     38 * @param string $after  Optional. Content to append to the title. Default empty.
     39 * @param bool   $echo   Optional. Whether to display or return. Default true.
     40 * @return string|void The current post title if `$echo = false`.
    4141 */
    4242function the_title( $before = '', $after = '', $echo = true ) {
    4343        $title = get_the_title();