Changeset 4001 for sites/trunk/wordpress.org/public_html/wp-content/plugins/support-forums/inc/class-ratings-compat.php
- Timestamp:
- 09/07/2016 08:02:18 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/plugins/support-forums/inc/class-ratings-compat.php
r3997 r4001 49 49 // Set up ratings view. 50 50 add_action( 'wporg_compat_before_single_view', array( $this, 'do_view_header' ) ); 51 add_filter( 'bbp_get_topic_title', array( $this, 'get_topic_title' ), 10, 2 );52 51 53 52 // Add the topic form as either a new or edit form. … … 120 119 return; 121 120 } 121 122 // Add the filter for topic titles here. 123 add_filter( 'bbp_get_topic_title', array( $this, 'get_topic_title' ), 10, 2 ); 122 124 ?> 123 125 <link itemprop="applicationCategory" href="http://schema.org/OtherApplication" /> … … 218 220 return; 219 221 } 222 remove_filter( 'bbp_get_topic_title', array( $this, 'get_topic_title' ), 10 ); 220 223 221 224 if ( ! is_user_logged_in() ) {
Note: See TracChangeset
for help on using the changeset viewer.