Skip to:
Content

bbPress.org


Ignore:
Timestamp:
09/17/2012 12:03:03 AM (13 years ago)
Author:
johnjamesjacoby
Message:

Capabilities:

  • Remove experimental Bozo functionality. We can use the 'participate' to prevent forum participation without creating topics or replies.
  • Introduce functions to reset, save, and remove user capabilities.
  • Use these functions in both theme-side and admin-side profiles.
  • Add capabilities to bbp-twentyten theme. This will be moved into the stand-alone bbp-twentyten theme soon'ish.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bbp-includes/bbp-reply-template.php

    r4216 r4222  
    4444 *
    4545 * @param mixed $args All the arguments supported by {@link WP_Query}
    46  * @uses bbp_is_user_bozo() To add the bozo post status
    4746 * @uses bbp_show_lead_topic() Are we showing the topic as a lead?
    4847 * @uses bbp_get_topic_id() To get the topic id
     
    7574    }
    7675
    77     // Add the bozo status if user is a bozo
    78     if ( bbp_is_user_bozo() ) {
    79         $post_statuses[] = bbp_get_bozo_status_id();
    80     }
    81 
    8276    $default_reply_search = !empty( $_REQUEST['rs'] ) ? $_REQUEST['rs'] : false;
    8377    $default_post_parent  = ( bbp_is_single_topic() ) ? bbp_get_topic_id() : 'any';
Note: See TracChangeset for help on using the changeset viewer.