Make WordPress Core


Ignore:
Timestamp:
09/18/2013 04:16:59 PM (12 years ago)
Author:
SergeyBiryukov
Message:

Inline documentation for hooks in wp-includes/feed-rdf.php.

props dustyf.
see #25229.

File:
1 edited

Legend:

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

    r25315 r25479  
    1717    xmlns:admin="http://webns.net/mvcb/"
    1818    xmlns:content="http://purl.org/rss/1.0/modules/content/"
    19     <?php do_action('rdf_ns'); ?>
     19    <?php
     20    /**
     21     * Fires at the end of the feed root to add namespaces.
     22     *
     23     * @since 2.0.0
     24     */
     25    do_action( 'rdf_ns' );
     26    ?>
    2027>
    2128<channel rdf:about="<?php bloginfo_rss("url") ?>">
     
    2532    <dc:date><?php echo mysql2date('Y-m-d\TH:i:s\Z', get_lastpostmodified('GMT'), false); ?></dc:date>
    2633    <sy:updatePeriod><?php echo apply_filters( 'rss_update_period', 'hourly' ); ?></sy:updatePeriod>
     34    <?php //duplicate_hook ?>
    2735    <sy:updateFrequency><?php echo apply_filters( 'rss_update_frequency', '1' ); ?></sy:updateFrequency>
    2836    <sy:updateBase>2000-01-01T12:00+00:00</sy:updateBase>
    29     <?php do_action('rdf_header'); ?>
     37    <?php
     38    /**
     39     * Fires at the end of the RDF feed header.
     40     *
     41     * @since 2.0.0
     42     */
     43    do_action( 'rdf_header' );
     44    ?>
    3045    <items>
    3146        <rdf:Seq>
     
    4964    <content:encoded><![CDATA[<?php the_content_feed('rdf') ?>]]></content:encoded>
    5065<?php endif; ?>
    51     <?php do_action('rdf_item'); ?>
     66    <?php
     67    /**
     68     * Fires at the end of each RDF feed item.
     69     *
     70     * @since 2.0.0
     71     */
     72    do_action( 'rdf_item' );
     73    ?>
    5274</item>
    5375<?php endwhile;  ?>
Note: See TracChangeset for help on using the changeset viewer.