Make WordPress Core

Changeset 30224


Ignore:
Timestamp:
11/04/2014 06:51:06 AM (10 years ago)
Author:
DrewAPicture
Message:

Cross reference get_the_archive_title() and get_the_archive_description() in the inline documentation for their corresponding template tags.

Also define the default values for $before and $after in the template tag documentation.

See [30223]. See #21995.

File:
1 edited

Legend:

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

    r30223 r30224  
    11161116 * @since 4.1.0
    11171117 *
    1118  * @param string $before Optional. Content to prepend to the title.
    1119  * @param string $after  Optional. Content to append to the title.
     1118 * @see get_the_archive_title()
     1119 *
     1120 * @param string $before Optional. Content to prepend to the title. Default empty.
     1121 * @param string $after  Optional. Content to append to the title. Default empty.
    11201122 */
    11211123function the_archive_title( $before = '', $after = '' ) {
     
    11901192 * @since 4.1.0
    11911193 *
    1192  * @param string $before Optional. Content to prepend to the description.
    1193  * @param string $after  Optional. Content to append to the description.
     1194 * @see get_the_archive_description()
     1195 *
     1196 * @param string $before Optional. Content to prepend to the description. Default empty.
     1197 * @param string $after  Optional. Content to append to the description. Default empty.
    11941198 */
    11951199function the_archive_description( $before = '', $after = '' ) {
     
    12141218     *
    12151219     * @since 4.1.0
     1220     *
     1221     * @see term_description()
    12161222     *
    12171223     * @param string $description Archive description to be displayed.
Note: See TracChangeset for help on using the changeset viewer.