[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:45:59 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       |   Keywords:  needs-patch
-------------------------+-------------------------
 We need to make the BP_button class a little more flexible and update and
 increase it's $args parameters while adding a couple of conditional blocks
 to build either opening/closing tags based on the arg  e.g `$element_type
 = 'button'`.

 Being able to specify in the args to use the button element or default to
 the existing anchor element wrapping the $content will be helpful in
 facilitating this ticket and it's requirements to be able to use the
 button element.
 https://github.com/buddypress/next-template-packs/issues/78

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


More information about the buddypress-trac mailing list