Ticket #2498: meta-2498.3.patch
File meta-2498.3.patch, 1.1 KB (added by , 7 years ago) |
---|
-
sites/trunk/wordpress.org/public_html/wp-content/plugins/wporg-bbp-topic-resolution/inc/class-plugin.php
67 67 * Add "Resolved" status to title. 68 68 */ 69 69 public function get_topic_title( $title, $topic_id ) { 70 // Don't run in the admin .71 if ( is_admin() ) {70 // Don't run in the admin or in feeds. 71 if ( is_admin() || is_feed() ) { 72 72 return $title; 73 73 } 74 74 … … 77 77 return $title; 78 78 } 79 79 80 // Don't run when viewing a single topic or a topicedit page.81 if ( bbp_is_single_topic() || bbp_is_ topic_edit() ) {80 // Don't run when viewing a single topic, a single reply, a topic edit page, or a reply edit page. 81 if ( bbp_is_single_topic() || bbp_is_single_reply() || bbp_is_topic_edit() || bbp_is_reply_edit() ) { 82 82 return $title; 83 83 } 84 84