Changeset 4811 for sites/trunk/wordpress.org/public_html/wp-content/plugins/wporg-bbp-topic-resolution/inc/class-plugin.php
- Timestamp:
- 01/27/2017 06:49:08 PM (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
r4714 r4811 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; … … 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;
Note: See TracChangeset
for help on using the changeset viewer.