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/admin/admin.php

    r5637 r5676  
    393393     * @param string $cap Capability name
    394394     * @param int $user_id User id
    395      * @param mixed $args Arguments
     395     * @param array $args Arguments
    396396     * @uses get_post() To get the post
    397397     * @uses apply_filters() Calls 'bbp_map_meta_caps' with caps, cap, user id and
Note: See TracChangeset for help on using the changeset viewer.