Changeset 5060 for trunk/includes/extend/buddypress/groups.php
- Timestamp:
- 08/02/2013 07:20:49 AM (13 years ago)
- File:
-
- 1 edited
-
trunk/includes/extend/buddypress/groups.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/includes/extend/buddypress/groups.php
r5056 r5060 749 749 750 750 // Strip the super stickies from topic query 751 add_filter( 'bbp_get_super_stickies', array( $this, 'no_super_stickies' ), 10, 1 );751 add_filter( 'bbp_get_super_stickies', array( $this, 'no_super_stickies' ), 10, 1 ); 752 752 753 753 // Unset the super sticky option on topic form 754 add_filter( 'bbp_ after_topic_type_select_parse_args',array( $this, 'unset_super_sticky' ), 10, 1 );754 add_filter( 'bbp_get_topic_types', array( $this, 'unset_super_sticky' ), 10, 1 ); 755 755 756 756 // Query forums and show them if they exist … … 808 808 809 809 // Unset the super sticky link on edit topic template 810 add_filter( 'bbp_ after_topic_type_select_parse_args', array( $this, 'unset_super_sticky' ), 10, 1 );810 add_filter( 'bbp_get_topic_types', array( $this, 'unset_super_sticky' ), 10, 1 ); 811 811 812 812 // Set the edit switches … … 922 922 */ 923 923 public function unset_super_sticky( $args = array() ) { 924 $args['super_text'] = ''; 924 if ( isset( $args['super'] ) ) { 925 unset( $args['super'] ); 926 } 925 927 return $args; 926 928 }
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)