Changeset 4998
- Timestamp:
- 02/24/2017 10:58:11 AM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/plugins/wporg-bbp-topic-resolution/inc/class-plugin.php
r4811 r4998 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 } … … 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 }
Note: See TracChangeset
for help on using the changeset viewer.