WordPress.org

Make WordPress Core

Changeset 37516


Ignore:
Timestamp:
05/22/2016 06:46:29 PM (3 years ago)
Author:
DrewAPicture
Message:

Docs: Standardize filter docs in wp-includes/feed.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/feed.php

    r37282 r37516  
    2626    $info = strip_tags(get_bloginfo($show));
    2727    /**
    28      * Filter the bloginfo for use in RSS feeds.
     28     * Filters the bloginfo for use in RSS feeds.
    2929     *
    3030     * @since 2.2.0
     
    5353function bloginfo_rss($show = '') {
    5454    /**
    55      * Filter the bloginfo for display in RSS feeds.
     55     * Filters the bloginfo for display in RSS feeds.
    5656     *
    5757     * @since 2.1.0
     
    7777function get_default_feed() {
    7878    /**
    79      * Filter the default feed type.
     79     * Filters the default feed type.
    8080     *
    8181     * @since 2.5.0
     
    104104
    105105    /**
    106      * Filter the blog title for use as the feed title.
     106     * Filters the blog title for use as the feed title.
    107107     *
    108108     * @since 2.2.0
     
    130130
    131131    /**
    132      * Filter the blog title for display of the feed title.
     132     * Filters the blog title for display of the feed title.
    133133     *
    134134     * @since 2.2.0
     
    154154
    155155    /**
    156      * Filter the post title for use in a feed.
     156     * Filters the post title for use in a feed.
    157157     *
    158158     * @since 1.2.0
     
    190190    $content = str_replace(']]>', ']]>', $content);
    191191    /**
    192      * Filter the post content for use in feeds.
     192     * Filters the post content for use in feeds.
    193193     *
    194194     * @since 2.9.0
     
    220220    $output = get_the_excerpt();
    221221    /**
    222      * Filter the post excerpt for a feed.
     222     * Filters the post excerpt for a feed.
    223223     *
    224224     * @since 1.2.0
     
    236236function the_permalink_rss() {
    237237    /**
    238      * Filter the permalink to the post for use in feeds.
     238     * Filters the permalink to the post for use in feeds.
    239239     *
    240240     * @since 2.3.0
     
    253253function comments_link_feed() {
    254254    /**
    255      * Filter the comments permalink for the current post.
     255     * Filters the comments permalink for the current post.
    256256     *
    257257     * @since 3.6.0
     
    301301function comment_link( $comment = null ) {
    302302    /**
    303      * Filter the current comment's permalink.
     303     * Filters the current comment's permalink.
    304304     *
    305305     * @since 3.6.0
     
    321321function get_comment_author_rss() {
    322322    /**
    323      * Filter the current comment author for use in a feed.
     323     * Filters the current comment author for use in a feed.
    324324     *
    325325     * @since 1.5.0
     
    349349    $comment_text = get_comment_text();
    350350    /**
    351      * Filter the current comment content for use in a feed.
     351     * Filters the current comment content for use in a feed.
    352352     *
    353353     * @since 1.5.0
     
    403403
    404404    /**
    405      * Filter all of the post categories for display in a feed.
     405     * Filters all of the post categories for display in a feed.
    406406     *
    407407     * @since 1.2.0
     
    470470
    471471                /**
    472                  * Filter the RSS enclosure HTML link tag for the current post.
     472                 * Filters the RSS enclosure HTML link tag for the current post.
    473473                 *
    474474                 * @since 2.2.0
     
    504504                $enclosure = explode("\n", $enc);
    505505                /**
    506                  * Filter the atom enclosure HTML link tag for the current post.
     506                 * Filters the atom enclosure HTML link tag for the current post.
    507507                 *
    508508                 * @since 2.2.0
     
    607607    $host = @parse_url(home_url());
    608608    /**
    609      * Filter the current feed URL.
     609     * Filters the current feed URL.
    610610     *
    611611     * @since 3.6.0
     
    641641
    642642    /**
    643      * Filter the content type for a specific feed type.
     643     * Filters the content type for a specific feed type.
    644644     *
    645645     * @since 2.8.0
Note: See TracChangeset for help on using the changeset viewer.