[buddypress-trac] [BuddyPress Trac] #7226: Update BP_buttons class to accept new arg param for $element_type
buddypress-trac
noreply at wordpress.org
Sat Aug 27 13:05:34 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):
Your -03 patch checks out.
I can set both:
`button_attr( array( 'class' => 'button-class', 'title' => 'button-title'
) )`
and
`'link_class => 'link-class',
'link_title' => 'link-title',`
On the same `$buttons[]array()`
and the new 'button_attr' key/values will have precedence over the older
link_* ones, comment out the 'button_attr' and the 'link_*' ones filter
through.
--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/7226#comment:26>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac
More information about the buddypress-trac
mailing list