WordPress.org

Make WordPress Core


Ignore:
Timestamp:
10/06/2007 06:55:24 AM (12 years ago)
Author:
westi
Message:

Centralise generator generation, move theme generator generation to wp-head hook. Fixes #5085, #4803. props docwhat, Viper007Bond.

File:
1 edited

Legend:

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

    r5910 r6195  
    55?>
    66<?php echo '<?xml version="1.0" encoding="'.get_option('blog_charset').'"?'.'>'; ?>
    7 <!-- generator="wordpress/<?php echo $wp_version ?>" -->
    87<rdf:RDF
    98    xmlns="http://purl.org/rss/1.0/"
     
    2019    <description><?php bloginfo_rss('description') ?></description>
    2120    <dc:date><?php echo mysql2date('Y-m-d\TH:i:s\Z', get_lastpostmodified('GMT'), false); ?></dc:date>
    22     <admin:generatorAgent rdf:resource="http://wordpress.org/?v=<?php echo $wp_version ?>"/>
     21    <?php the_generator( 'rdf' ); ?>
    2322    <sy:updatePeriod>hourly</sy:updatePeriod>
    2423    <sy:updateFrequency>1</sy:updateFrequency>
Note: See TracChangeset for help on using the changeset viewer.