Ticket #2399: meta-2399.patch
File meta-2399.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
68 68 */ 69 69 public function get_topic_title( $title, $topic_id ) { 70 70 // Only run when enabled on a topic's forum. 71 if ( bbp_is_single_topic() ||! $this->is_enabled_on_forum( bbp_get_topic_forum_id( $topic_id ) ) ) {71 if ( ! $this->is_enabled_on_forum( bbp_get_topic_forum_id( $topic_id ) ) ) { 72 72 return $title; 73 73 } 74 74 75 // Don't run when viewing a single topic or a topic edit page. 76 if ( bbp_is_single_topic() || bbp_is_topic_edit() ) { 77 return $title; 78 } 79 75 80 // Don't run when displaying a title attribute via bbp_get_reply_title_fallback(), hooked to 'the_title' 76 81 if ( doing_filter( 'the_title' ) ) { 77 82 return $title;