Skip to:
Content

bbPress.org


Ignore:
Timestamp:
09/10/2011 10:27:19 PM (13 years ago)
Author:
johnjamesjacoby
Message:

API adjustments:

  • Refactor _status_ vars into callable functions.
  • Audit usage of $bbp global.
  • Perform get_class() checks on extensions to avoid errors if global $bbp is overloaded.
  • Bump DB version to 175.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/plugin/bbp-includes/bbp-user-template.php

    r3504 r3505  
    859859 */
    860860function bbp_login_notices() {
    861     global $bbp;
    862861
    863862    // loggedout was passed
     
    12511250    $defaults = array(
    12521251        'post_type'   => bbp_get_forum_post_type(),
    1253         'post_status' => 'publish',
     1252        'post_status' => bbp_get_public_status_id(),
    12541253        'numberposts' => -1,
    12551254        'exclude'     => $post__not_in
Note: See TracChangeset for help on using the changeset viewer.