[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 19:13:44 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):
If you're using a deprecated link_* parameter, this will take precedence
instead of button_attr['class']. So I'm guessing you have link_class set?
Yes Nouveau is passing 'link_class' in the $buttons[] args after I set the
top level function params so that's ok I can possibly concatenate those
top level params with the $button ones and pass all through to the
'button_attr' I had intended regardless to update and remove those older
link_* keys.
--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/7226#comment:23>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac
More information about the buddypress-trac
mailing list