Changeset 4717
- Timestamp:
- 01/25/2013 05:16:24 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/includes/extend/buddypress/group.php
r4716 r4717 77 77 78 78 // Possibly redirect 79 add_action( 'bbp_template_redirect', array( $this, 'redirect_canonical' ) );80 81 // Remove topiccap map when view is done82 add_action( 'bbp_after_group_forum_display', array( $this, 'remove_ topic_meta_cap_map' ) );79 add_action( 'bbp_template_redirect', array( $this, 'redirect_canonical' ) ); 80 81 // Remove group forum cap map when view is done 82 add_action( 'bbp_after_group_forum_display', array( $this, 'remove_group_forum_meta_cap_map' ) ); 83 83 } 84 84 … … 225 225 * @since bbPress (r4434) 226 226 */ 227 public function remove_topic_meta_cap_map() { 228 remove_filter( 'bbp_map_topic_meta_caps', array( $this, 'map_topic_meta_caps' ), 10, 4 ); 229 remove_filter( 'bbp_map_reply_meta_caps', array( $this, 'map_topic_meta_caps' ), 10, 4 ); 227 public function remove_group_forum_meta_cap_map() { 228 remove_filter( 'bbp_map_meta_caps', array( $this, 'map_group_forum_meta_caps' ), 99, 4 ); 230 229 } 231 230
Note: See TracChangeset
for help on using the changeset viewer.