Make WordPress Core


Ignore:
Timestamp:
10/22/2013 05:21:32 PM (13 years ago)
Author:
nacin
Message:

Spell out duplicate hook locations.

props DrewAPicture.
fixes #25658.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/feed-rss2-comments.php

    r25532 r25868  
    1616    xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
    1717    <?php
    18     //duplicate_hook
     18    /** This action is documented in wp-includes/feed-rss2.php */
    1919    do_action( 'rss2_ns' );
    2020    ?>
     
    4242    <description><?php bloginfo_rss("description") ?></description>
    4343    <lastBuildDate><?php echo mysql2date('r', get_lastcommentmodified('GMT')); ?></lastBuildDate>
    44     <?php //duplicate_hook ?>
     44    <?php /** This filter is documented in wp-includes/feed-rss2.php */ ?>
    4545    <sy:updatePeriod><?php echo apply_filters( 'rss_update_period', 'hourly' ); ?></sy:updatePeriod>
    46     <?php //duplicate_hook ?>
     46    <?php /** This filter is documented in wp-includes/feed-rss2.php */ ?>
    4747    <sy:updateFrequency><?php echo apply_filters( 'rss_update_frequency', '1' ); ?></sy:updateFrequency>
    4848    <?php
     
    6161            if ( !is_singular() ) {
    6262                $title = get_the_title($comment_post->ID);
    63                 //duplicate_hook
    64                 $title = apply_filters('the_title_rss', $title);
     63                /** This filter is documented in wp-includes/feed.php */
     64                $title = apply_filters( 'the_title_rss', $title );
    6565                printf(ent2ncr(__('Comment on %1$s by %2$s')), $title, get_comment_author_rss());
    6666            } else {
Note: See TracChangeset for help on using the changeset viewer.