[buddypress-trac] [BuddyPress] #2511: bp_your_or_their misses parameters

buddypress-trac at lists.automattic.com buddypress-trac at lists.automattic.com
Sun Jul 18 12:02:42 UTC 2010


#2511: bp_your_or_their misses parameters
----------------------------+-----------------------------------------------
 Reporter:  francescolaffi  |       Owner:                        
     Type:  defect          |      Status:  new                   
 Priority:  minor           |   Milestone:  1.2.6                 
Component:  Core            |    Keywords:  dev-feedback has-patch
----------------------------+-----------------------------------------------

Comment(by francescolaffi):

 Replying to [comment:3 r-a-y]:
 > Patch needs to be changed, because if the bp_your_or_their() function is
 used elsewhere in the code or a plugin, it will break.
 >
 > Add the new variables at the end, instead of the beginning.

 right now the function can't be used at all because of the missing args
 and with this order is consistent with similar funcs (like your_or_name).
 what you say is generally correct but I don't think it applies in this
 case

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


More information about the buddypress-trac mailing list