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

buddypress-trac noreply at wordpress.org
Mon Sep 19 17:48:00 UTC 2016


#7226: Update BP_buttons class to accept new arg param for $element_type
-------------------------+---------------------
 Reporter:  hnla         |       Owner:  r-a-y
     Type:  enhancement  |      Status:  closed
 Priority:  normal       |   Milestone:  2.7
Component:  Core         |     Version:
 Severity:  normal       |  Resolution:  fixed
 Keywords:  has-patch    |
-------------------------+---------------------

Comment (by r-a-y):

 > perhaps we ought to use continue in the attr loop if a value is empty,
 save printing out empty attr & accounts for people like me wanting to
 visually list all the keys while setting to empty strings if no values
 available for transposition.

 Good call.  I've made this change in r11112.

 In my late-night commits, I forgot to add props for this ticket.  Major
 apologies, @hnla.  Wasn't my intention to do that.

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


More information about the buddypress-trac mailing list