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

buddypress-trac noreply at wordpress.org
Tue Sep 6 19:25:04 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):

 One thing I did do today was set a button element  but also passed through
 href link as a element attr, think  - as much as it's dumb  operator error
 - we ought to render the link href only if element is an anchor? Or do we
 simply ask devs to be more careful and not break the internet?!

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


More information about the buddypress-trac mailing list