WordPress.org

Make WordPress Core


Ignore:
Timestamp:
07/07/2014 10:17:44 AM (5 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-atom.php

    r25531 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', 'atom' );
     15?>
    1216<feed
    1317  xmlns="http://www.w3.org/2005/Atom"
Note: See TracChangeset for help on using the changeset viewer.