Make WordPress Core


Ignore:
Timestamp:
07/07/2014 10:17:44 AM (11 years ago)
Author:
SergeyBiryukov
Message:

Introduce 'rss_tag_pre' action, which fires between the xml and rss tags in a feed.

props solarissmoke, wonderboymusic, DrewAPicture.
fixes #19017.

File:
1 edited

Legend:

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

    r25880 r29014  
    99$more = 1;
    1010
    11 echo '<?xml version="1.0" encoding="'.get_option('blog_charset').'"?'.'>'; ?>
     11echo '<?xml version="1.0" encoding="'.get_option('blog_charset').'"?'.'>';
     12
     13/** This action is documented in wp-includes/feed-rss2.php */
     14do_action( 'rss_tag_pre', 'rdf' );
     15?>
    1216<rdf:RDF
    1317    xmlns="http://purl.org/rss/1.0/"
Note: See TracChangeset for help on using the changeset viewer.