From f228c5b16e4328bfa503ef719182fadb177975f4 Mon Sep 17 00:00:00 2001 From: "Drew Jaynes (DrewAPicture)" Date: Mon, 19 May 2014 02:27:08 +0000 Subject: [PATCH] Improve inline documentation of default arguments for `the_title_attribute()`. See #28298. git-svn-id: https://develop.svn.wordpress.org/trunk@28498 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-includes/post-template.php | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/src/wp-includes/post-template.php b/src/wp-includes/post-template.php index b203156c46..4f85a6e7b7 100644 --- a/src/wp-includes/post-template.php +++ b/src/wp-includes/post-template.php @@ -65,7 +65,14 @@ function the_title($before = '', $after = '', $echo = true) { * * @since 2.3.0 * - * @param string|array $args Optional. Override the defaults. + * @param string|array $args { + * Title attribute arguments. Optional. + * + * @type string $before Markup to prepend to the title. Default empty. + * @type string $after Markup to append to the title. Default empty. + * @type bool $echo Whether to echo or return the title. Default true for echo. + * @type WP_Post $post Current post object to retrieve the title for. + * } * @return string|null Null on failure or display. String when echo is false. */ function the_title_attribute( $args = '' ) {