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

    r5079 r5676  
    3737 * @param string $cap Capability name
    3838 * @param int $user_id User id
    39  * @param mixed $args Arguments
     39 * @param array $args Arguments
    4040 * @uses get_post() To get the post
    4141 * @uses get_post_type_object() To get the post type object
Note: See TracChangeset for help on using the changeset viewer.