[buddypress-trac] [BuddyPress] #3797: Refactor database methods to accept array-style arguments

buddypress-trac at lists.automattic.com buddypress-trac at lists.automattic.com
Tue Apr 17 14:01:17 UTC 2012

#3797: Refactor database methods to accept array-style arguments
 Reporter:  boonebgorges            |       Owner:
     Type:  enhancement             |      Status:  new
 Priority:  normal                  |   Milestone:  1.6
Component:  Core                    |     Version:
 Severity:  normal                  |  Resolution:
 Keywords:  dev-feedback has-patch  |

Comment (by boonebgorges):

 (In [5993]) Refactors bp_has_activities() stack to support the passing of
 arguments as associative arrays.
 - Maintains backward compatibility by parsing old-style parameters using
 bp_core_parse_args_array(), converting to new-style array, and throwing
 _deprecated_argument() error
 - Changes calls to BP_Activity_Template::__construct() and
 BP_Activity_Activity::get() to use the new format throughout BuddyPress
 - See #3797

Ticket URL: <https://buddypress.trac.wordpress.org/ticket/3797#comment:9>
BuddyPress <http://buddypress.org/>

More information about the buddypress-trac mailing list