Skip to:
Content

bbPress.org

Changeset 3271


Ignore:
Timestamp:
05/29/2011 05:21:25 PM (11 years ago)
Author:
johnjamesjacoby
Message:

Bump the numberposts limit in bbp_reply_metabox to 250, but allow the args to be filtered so large forums have a way to adjust the query. Fixes #1512.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/plugin/bbp-admin/bbp-metaboxes.php

    r3256 r3271  
    395395        'select_id'   => 'parent_id',
    396396        'orderby'     => 'post_date',
    397         'numberposts' => '50'
    398     ); ?>
     397        'numberposts' => '250'
     398    );
     399   
     400    // Allow the dropdown to be filtered, to extend or limit the available
     401    // topics to choose as the reply parent.
     402    $args = apply_filters( 'bbp_reply_parent_dropdown', $args ); ?>
    399403
    400404    <p><strong><?php _e( 'Parent Topic', 'bbpress' ); ?></strong></p>
Note: See TracChangeset for help on using the changeset viewer.