Improve inline documentation of default arguments for `the_title_attribute()`.

See #28298.

Built from https://develop.svn.wordpress.org/trunk@28498


git-svn-id: http://core.svn.wordpress.org/trunk@28324 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Drew Jaynes 2014-05-19 02:28:14 +00:00
parent 130771a383
commit c7c563532b
1 changed files with 8 additions and 1 deletions

View File

@ -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 = '' ) {