From 2cc42e5dbb5ccec3ff614c4bf102793b190b332e Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Wed, 24 Aug 2016 15:59:29 +0000 Subject: [PATCH] Docs: Improve the docs for `the_title()` and make them more consistent with `the_title_attribute()`. Props ixkaito, swissspidy. Fixes #37732. Built from https://develop.svn.wordpress.org/trunk@38348 git-svn-id: http://core.svn.wordpress.org/trunk@38289 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/post-template.php | 10 +++++----- wp-includes/version.php | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/wp-includes/post-template.php b/wp-includes/post-template.php index 43252404e8..bb0b81a882 100644 --- a/wp-includes/post-template.php +++ b/wp-includes/post-template.php @@ -30,14 +30,14 @@ function get_the_ID() { } /** - * Display or retrieve the current post title with optional content. + * Display or retrieve the current post title with optional markup. * * @since 0.71 * - * @param string $before Optional. Content to prepend to the title. - * @param string $after Optional. Content to append to the title. - * @param bool $echo Optional, default to true.Whether to display or return. - * @return string|void String if $echo parameter is false. + * @param string $before Optional. Markup to prepend to the title. Default empty. + * @param string $after Optional. Markup to append to the title. Default empty. + * @param bool $echo Optional. Whether to echo or return the title. Default true for echo. + * @return string|void Current post title if $echo is false. */ function the_title( $before = '', $after = '', $echo = true ) { $title = get_the_title(); diff --git a/wp-includes/version.php b/wp-includes/version.php index 80bde9aa9d..39e651fa52 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '4.7-alpha-38347'; +$wp_version = '4.7-alpha-38348'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.