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

buddypress-trac noreply at wordpress.org
Wed Aug 24 16:27:10 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):

 -06 Updates for the mentioned improvements in Boone's comments.

 * Loop over data_attr, now passed in as a nested array key/values so we
 can  build multiple sets to add to an element.

 * Re-factors the button array names to make more generic and re-usuable
 for input type elements.

 * Adds provision to let dev choose input as element and adjusts attr where
 required.

 * Allow  for the setting of 'reset' type.

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


More information about the buddypress-trac mailing list