[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 26 19:08:22 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:  has-patch    |
-------------------------+------------------

Comment (by hnla):

 >Would it be clearer just to set up data attributes individually in
 button_attr instead?
 Guess it's simplist the way you have it above , although I had followed
 Boone's lead earlier in doing key/val pairs and prefixing the `data-`
 portion, devs should know the format so lets do your version, less
 fiddling about to get the values out of the array.

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


More information about the buddypress-trac mailing list