Skip to:
Content

bbPress.org


Ignore:
Timestamp:
11/24/2012 08:44:30 PM (13 years ago)
Author:
johnjamesjacoby
Message:

Extract:

  • Clean up bbp_parse_args() usages and inline documents.
  • Fixes #2056.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/includes/common/functions.php

    r4500 r4508  
    431431function bbp_get_statistics( $args = '' ) {
    432432
    433     // Parse arguments
     433    // Parse arguments against default values
    434434    $r = bbp_parse_args( $args, array(
    435435        'count_users'           => true,
     
    599599function bbp_filter_anonymous_post_data( $args = '' ) {
    600600
    601     // Parse arguments with default parameters
     601    // Parse arguments against default values
    602602    $r = bbp_parse_args( $args, array (
    603603        'bbp_anonymous_name'    => !empty( $_POST['bbp_anonymous_name']    ) ? $_POST['bbp_anonymous_name']    : false,
     
    652652    global $wpdb;
    653653
     654    // Parse arguments against default values
    654655    $r = bbp_parse_args( $post_data, array(
    655656        'post_author'    => 0,
Note: See TracChangeset for help on using the changeset viewer.