Skip to:
Content

BuddyPress.org

Changeset 9242


Ignore:
Timestamp:
12/20/2014 05:55:38 PM (10 years ago)
Author:
djpaul
Message:

Core, Suggestions: use bp_parse_args to pre-filter $args for bp_core_get_suggestions.

See #5934

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bp-core/bp-core-functions.php

    r9192 r9242  
    20462046 */
    20472047function bp_core_get_suggestions( $args ) {
    2048     $args = wp_parse_args( $args );
     2048    $args = bp_parse_args( $args, array(), 'get_suggestions' );
    20492049
    20502050    if ( ! $args['type'] ) {
Note: See TracChangeset for help on using the changeset viewer.