Changeset 6021
- Timestamp:
- 04/30/2016 12:07:37 AM (5 years ago)
- Location:
- branches/2.5/includes
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.5/includes/replies/functions.php
r5692 r6021 1397 1397 1398 1398 // Remove reply_to from moved reply 1399 delete_post_meta( $move_reply->ID, '_bbp_reply_to' ); 1399 delete_post_meta( $move_reply->ID, '_bbp_reply_to' ); 1400 1400 1401 1401 // It is a new topic and we need to set some default metas to make … … 1995 1995 1996 1996 // Display the feed 1997 header( 'Content-Type: ' . feed_content_type( 'rss -http' ) . '; charset=' . get_option( 'blog_charset' ), true );1997 header( 'Content-Type: ' . feed_content_type( 'rss2' ) . '; charset=' . get_option( 'blog_charset' ), true ); 1998 1998 header( 'Status: 200 OK' ); 1999 1999 echo '<?xml version="1.0" encoding="' . get_option( 'blog_charset' ) . '"?' . '>'; ?> … … 2222 2222 /** 2223 2223 * Validate a `reply_to` field for hierarchical replies 2224 * 2224 * 2225 2225 * Checks for 2 scenarios: 2226 2226 * -- The reply to ID is actually a reply -
branches/2.5/includes/topics/functions.php
r5692 r6021 3422 3422 3423 3423 // Display the feed 3424 header( 'Content-Type: ' . feed_content_type( 'rss -http' ) . '; charset=' . get_option( 'blog_charset' ), true );3424 header( 'Content-Type: ' . feed_content_type( 'rss2' ) . '; charset=' . get_option( 'blog_charset' ), true ); 3425 3425 header( 'Status: 200 OK' ); 3426 3426 echo '<?xml version="1.0" encoding="' . get_option( 'blog_charset' ) . '"?' . '>'; ?>
Note: See TracChangeset
for help on using the changeset viewer.