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

buddypress-trac noreply at wordpress.org
Fri Aug 19 14:58:35 UTC 2016


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

Comment (by boonebgorges):

 Sure, this seems like a good enhancement to me.

 Would it make sense for `button` to be the default element used by
 `BP_Button`? bp-legacy would probably have to continue to use whatever
 it's currently using, as themes are probably targeting the element type,
 but it sounds like it might be better moving forward to default to the
 semantic tag.

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


More information about the buddypress-trac mailing list