[buddypress-trac] [BuddyPress] #2566: [needs-feedback] BP_Button Class (for all components) (was: [patch] “Send Private Message” and “Mention this User” Button Filtering)

buddypress-trac at lists.automattic.com buddypress-trac at lists.automattic.com
Mon Sep 13 00:01:07 UTC 2010


#2566: [needs-feedback] BP_Button Class (for all components)
-----------------------+----------------------------------------------------
 Reporter:  jeffsayre  |       Owner:  jeffsayre                                         
     Type:  defect     |      Status:  assigned                                          
 Priority:  major      |   Milestone:  1.2.6                                             
Component:  Core       |    Keywords:  has-patch, security, privacy, abstraction, filters
-----------------------+----------------------------------------------------

Comment(by johnjamesjacoby):

 Attached patch introduces new BP_Button class and associated template
 tags. Also fixes a few minor issues with references to friends component
 in core widgets, white-space, code formatting, etc...

 This was originally in the queue for 1.3, but if you all can test this
 patch for 1.2.6 (specifically Jeff regarding privacy) would be
 outstanding.

 I'm honestly reluctant to put this large of a patch through this late in
 the 1.2.6 dev cycle, so I'd like to get some feedback before considering
 this a viable solution or not.

 In same ways, it complicates the creation of BuddyPress buttons, but in
 other ways it makes it more flexible and uniform across the components and
 templates. There is room to expand this also, with custom call-backs and
 checks before button creation.

-- 
Ticket URL: <http://trac.buddypress.org/ticket/2566#comment:26>
BuddyPress <http://buddypress.org/>
BuddyPress


More information about the buddypress-trac mailing list