Changeset 6304 for trunk/src/includes/replies/functions.php
- Timestamp:
- 02/24/2017 10:12:51 PM (9 years ago)
- File:
-
- 1 edited
-
trunk/src/includes/replies/functions.php (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/includes/replies/functions.php
r6246 r6304 2269 2269 * @uses bbp_reply_content() 2270 2270 * @uses get_wp_title_rss() 2271 * @uses get_bloginfo_rss() 2271 2272 * @uses get_option() 2272 * @uses bloginfo_rss()2273 2273 * @uses self_link() 2274 2274 * @uses the_author() … … 2288 2288 2289 2289 // Adjust the title based on context 2290 if ( bbp_is_single_topic() && bbp_user_can_view_forum( array( 'forum_id' => bbp_get_topic_forum_id() ) )) {2290 if ( bbp_is_single_topic() ) { 2291 2291 $title = apply_filters( 'wp_title_rss', get_wp_title_rss() ); 2292 2292 } elseif ( ! bbp_show_lead_topic() ) { … … 2296 2296 } 2297 2297 2298 $title = apply_filters( 'wp_title_rss', $title ); 2299 2298 2300 // Display the feed 2299 2301 header( 'Content-Type: ' . feed_content_type( 'rss2' ) . '; charset=' . get_option( 'blog_charset' ), true ); … … 2311 2313 2312 2314 <channel> 2315 2313 2316 <title><?php echo $title; ?></title> 2314 2317 <atom:link href="<?php self_link(); ?>" rel="self" type="application/rss+xml" />
Note: See TracChangeset
for help on using the changeset viewer.