[buddypress-trac] [BuddyPress Trac] #5144: Don't set 'Create a Group' button as part of the title

buddypress-trac noreply at wordpress.org
Fri Feb 21 11:22:15 UTC 2014


#5144: Don't set 'Create a Group' button as part of the title
--------------------------+---------------------------
 Reporter:  rogercoathup  |       Owner:  boonebgorges
     Type:  defect (bug)  |      Status:  reopened
 Priority:  normal        |   Milestone:  2.0
Component:  Theme         |     Version:  1.7
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |
--------------------------+---------------------------

Comment (by rogercoathup):

 In the same vein, it would probably be a good idea to add a filter on the
 args in the call to create a new BP_Button in bp_get_button().  This would
 allow us to generically filter all button args, in addition to the filters
 that allow us to do it on each individual type of button.

 i.e.

 line 346 of bp-core-template.php should become:

 $button = new BP_Button( apply_filters( 'bp_get_button_args', $args );

--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/5144#comment:26>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac


More information about the buddypress-trac mailing list