[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 05:14:13 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 r-a-y):

 `ray.02.patch` adds support for self-closing button elements (`<input>`,
 `<img>`) and URL-escaping for attributes with URLs in them (`src`, `href`,
 `formaction`).

 ----

 > @r-a-y Did you write tests to test the backward compatibility stuff? Or
 did you just check to see if existing buttons were rendering properly?

 At the moment, the latter and to test if existing unit tests broke or not.

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


More information about the buddypress-trac mailing list