Skip to:
Content

bbPress.org


Ignore:
Timestamp:
04/15/2015 02:33:11 AM (10 years ago)
Author:
johnjamesjacoby
Message:

All: Update default values for $args parameters from empty strings to empty arrays.

This is a micro-optimization to avoid unnecessary calls to wp_parse_str() inside bbp_parse_args().

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/includes/extend/buddypress/activity.php

    r5466 r5676  
    242242     * @return type Activity ID if successful, false if not
    243243     */
    244     public function delete_activity( $args = '' ) {
     244    public function delete_activity( $args = array() ) {
    245245
    246246        // Default activity args
Note: See TracChangeset for help on using the changeset viewer.