[buddypress-trac] [BuddyPress Trac] #7226: Update BP_buttons class to accept new arg param for $element_type

buddypress-trac noreply at wordpress.org
Tue Oct 11 14:31:39 UTC 2016


#7226: Update BP_buttons class to accept new arg param for $element_type
-------------------------+---------------------
 Reporter:  hnla         |       Owner:  r-a-y
     Type:  enhancement  |      Status:  closed
 Priority:  normal       |   Milestone:  2.7
Component:  Core         |     Version:
 Severity:  normal       |  Resolution:  fixed
 Keywords:  has-patch    |
-------------------------+---------------------

Comment (by needle):

 Is there a reason for wrapping buttons in `<div class="generic-button">`
 by default? in BP 2.6.n, the "Create a -----" (Group, Site etc) buttons
 are simply links added to the directory nav menus. The refactoring of
 `class BP_Button` now causes these links to be wrapped and pick up the
 style of a button - which causes problems with the styling of the menu and
 its items in some themes.

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


More information about the buddypress-trac mailing list