Make WordPress Core


Ignore:
Timestamp:
05/22/2016 06:26:44 PM (9 years ago)
Author:
DrewAPicture
Message:

Docs: Standardize filter docs in wp-includes/link-template.php to use third-person singular verbs per the inline documentation standards for PHP.

See #36913.

File:
1 edited

Legend:

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

    r37342 r37499  
    173173
    174174                /**
    175                  * Filter the category that gets used in the %category% permalink token.
     175                 * Filters the category that gets used in the %category% permalink token.
    176176                 *
    177177                 * @since 3.5.0
     
    317317
    318318    /**
    319      * Filter the permalink for a page.
     319     * Filters the permalink for a page.
    320320     *
    321321     * @since 1.5.0
     
    365365
    366366    /**
    367      * Filter the permalink for a non-page_on_front page.
     367     * Filters the permalink for a non-page_on_front page.
    368368     *
    369369     * @since 2.1.0
     
    536536
    537537    /**
    538      * Filter the day archive permalink.
     538     * Filters the day archive permalink.
    539539     *
    540540     * @since 1.5.0
     
    817817    if ( 'category' == $taxonomy ) {
    818818        /**
    819          * Filter the category feed link.
     819         * Filters the category feed link.
    820820         *
    821821         * @since 1.5.1
     
    827827    } elseif ( 'post_tag' == $taxonomy ) {
    828828        /**
    829          * Filter the post tag feed link.
     829         * Filters the post tag feed link.
    830830         *
    831831         * @since 2.3.0
     
    837837    } else {
    838838        /**
    839          * Filter the feed link for a taxonomy other than 'category' or 'post_tag'.
     839         * Filters the feed link for a taxonomy other than 'category' or 'post_tag'.
    840840         *
    841841         * @since 3.0.0
     
    875875function get_edit_tag_link( $tag_id, $taxonomy = 'post_tag' ) {
    876876    /**
    877      * Filter the edit link for a tag (or term in another taxonomy).
     877     * Filters the edit link for a tag (or term in another taxonomy).
    878878     *
    879879     * @since 2.7.0
     
    13981398
    13991399    /**
    1400      * Filter the comment edit link.
     1400     * Filters the comment edit link.
    14011401     *
    14021402     * @since 2.3.0
     
    14581458
    14591459    /**
    1460      * Filter the bookmark edit link.
     1460     * Filters the bookmark edit link.
    14611461     *
    14621462     * @since 2.7.0
     
    15261526
    15271527    /**
    1528      * Filter the user edit link.
     1528     * Filters the user edit link.
    15291529     *
    15301530     * @since 3.5.0
     
    22142214    if ( !is_single() && ( $nextpage <= $max_page ) ) {
    22152215        /**
    2216          * Filter the anchor tag attributes for the next posts page link.
     2216         * Filters the anchor tag attributes for the next posts page link.
    22172217         *
    22182218         * @since 2.7.0
     
    22972297    if ( !is_single() && $paged > 1 ) {
    22982298        /**
    2299          * Filter the anchor tag attributes for the previous posts page link.
     2299         * Filters the anchor tag attributes for the previous posts page link.
    23002300         *
    23012301         * @since 2.7.0
     
    27312731
    27322732    /**
    2733      * Filter the anchor tag attributes for the previous comments page link.
     2733     * Filters the anchor tag attributes for the previous comments page link.
    27342734     *
    27352735     * @since 2.7.0
     
    39013901    } elseif ( $id_or_email instanceof WP_Comment ) {
    39023902        /**
    3903          * Filter the list of allowed comment types for retrieving avatars.
     3903         * Filters the list of allowed comment types for retrieving avatars.
    39043904         *
    39053905         * @since 3.0.0
Note: See TracChangeset for help on using the changeset viewer.