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/users/capabilities.php

    r5591 r5676  
    1818 * @param string $cap Capability name
    1919 * @param int $user_id User id
    20  * @param mixed $args Arguments
     20 * @param array $args Arguments
    2121 * @uses apply_filters() Filter mapped results
    2222 * @return array Actual capabilities for meta capability
Note: See TracChangeset for help on using the changeset viewer.