Skip to:
Content

bbPress.org


Ignore:
Timestamp:
04/15/2015 02:33:11 AM (11 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/core/sub-actions.php

    r5618 r5676  
    477477 * @param string $cap Capability name
    478478 * @param int $user_id User id
    479  * @param mixed $args Arguments
     479 * @param array $args Arguments
    480480 */
    481481function bbp_map_meta_caps( $caps = array(), $cap = '', $user_id = 0, $args = array() ) {
Note: See TracChangeset for help on using the changeset viewer.