]> scripts.mit.edu Git - autoinstalls/wordpress.git/blobdiff - wp-includes/feed-rdf.php
WordPress 4.4
[autoinstalls/wordpress.git] / wp-includes / feed-rdf.php
index d3503af40d5b8bf6e79b97bffa0c1fff9f8d4a37..8302881500e9bdbe526eb9a52cc04406f160e2c4 100644 (file)
@@ -8,7 +8,11 @@
 header('Content-Type: ' . feed_content_type('rdf') . '; charset=' . get_option('blog_charset'), true);
 $more = 1;
 
 header('Content-Type: ' . feed_content_type('rdf') . '; charset=' . get_option('blog_charset'), true);
 $more = 1;
 
-echo '<?xml version="1.0" encoding="'.get_option('blog_charset').'"?'.'>'; ?>
+echo '<?xml version="1.0" encoding="'.get_option('blog_charset').'"?'.'>';
+
+/** This action is documented in wp-includes/feed-rss2.php */
+do_action( 'rss_tag_pre', 'rdf' );
+?>
 <rdf:RDF
        xmlns="http://purl.org/rss/1.0/"
        xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
 <rdf:RDF
        xmlns="http://purl.org/rss/1.0/"
        xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
@@ -26,14 +30,18 @@ echo '<?xml version="1.0" encoding="'.get_option('blog_charset').'"?'.'>'; ?>
        ?>
 >
 <channel rdf:about="<?php bloginfo_rss("url") ?>">
        ?>
 >
 <channel rdf:about="<?php bloginfo_rss("url") ?>">
-       <title><?php bloginfo_rss('name'); wp_title_rss(); ?></title>
+       <title><?php wp_title_rss(); ?></title>
        <link><?php bloginfo_rss('url') ?></link>
        <description><?php bloginfo_rss('description') ?></description>
        <dc:date><?php echo mysql2date('Y-m-d\TH:i:s\Z', get_lastpostmodified('GMT'), false); ?></dc:date>
        <link><?php bloginfo_rss('url') ?></link>
        <description><?php bloginfo_rss('description') ?></description>
        <dc:date><?php echo mysql2date('Y-m-d\TH:i:s\Z', get_lastpostmodified('GMT'), false); ?></dc:date>
-       <?php /** This filter is documented in wp-includes/feed-rss2.php */ ?>
-       <sy:updatePeriod><?php echo apply_filters( 'rss_update_period', 'hourly' ); ?></sy:updatePeriod>
-       <?php /** This filter is documented in wp-includes/feed-rss2.php */ ?>
-       <sy:updateFrequency><?php echo apply_filters( 'rss_update_frequency', '1' ); ?></sy:updateFrequency>
+       <sy:updatePeriod><?php
+               /** This filter is documented in wp-includes/feed-rss2.php */
+               echo apply_filters( 'rss_update_period', 'hourly' );
+       ?></sy:updatePeriod>
+       <sy:updateFrequency><?php
+               /** This filter is documented in wp-includes/feed-rss2.php */
+               echo apply_filters( 'rss_update_frequency', '1' );
+       ?></sy:updateFrequency>
        <sy:updateBase>2000-01-01T12:00+00:00</sy:updateBase>
        <?php
        /**
        <sy:updateBase>2000-01-01T12:00+00:00</sy:updateBase>
        <?php
        /**