Make WordPress Core

Changeset 28498


Ignore:
Timestamp:
05/19/2014 02:27:08 AM (11 years ago)
Author:
DrewAPicture
Message:

Improve inline documentation of default arguments for the_title_attribute().

See #28298.

File:
1 edited

Legend:

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

    r28419 r28498  
    6666 * @since 2.3.0
    6767 *
    68  * @param string|array $args Optional. Override the defaults.
     68 * @param string|array $args {
     69 *     Title attribute arguments. Optional.
     70 *
     71 *     @type string  $before Markup to prepend to the title. Default empty.
     72 *     @type string  $after  Markup to append to the title. Default empty.
     73 *     @type bool    $echo   Whether to echo or return the title. Default true for echo.
     74 *     @type WP_Post $post   Current post object to retrieve the title for.
     75 * }
    6976 * @return string|null Null on failure or display. String when echo is false.
    7077 */
Note: See TracChangeset for help on using the changeset viewer.