Ticket #2454: meta-2454.patch
File meta-2454.patch, 1.1 KB (added by , 8 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 // Only run when enabled on a topic's forum. 70 // Don't run in the admin. 71 if ( is_admin() ) { 72 return $title; 73 } 74 75 // Don't run if not enabled on a topic's forum. 71 76 if ( ! $this->is_enabled_on_forum( bbp_get_topic_forum_id( $topic_id ) ) ) { 72 77 return $title; 73 78 } … … 77 82 return $title; 78 83 } 79 84 80 // Don't run when displaying a title attribute via bbp_get_reply_title_fallback(), hooked to 'the_title' 85 // Don't run when displaying a title attribute via bbp_get_reply_title_fallback(), hooked to 'the_title'. 81 86 if ( doing_filter( 'the_title' ) ) { 82 87 return $title; 83 88 }