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-topic-template.php

    r4171 r4222  
    6363 * @param mixed $args All the arguments supported by {@link WP_Query}
    6464 * @uses current_user_can() To check if the current user can edit other's topics
    65  * @uses bbp_is_user_bozo() To add the bozo post status
    6665 * @uses bbp_get_topic_post_type() To get the topic post type
    6766 * @uses WP_Query To make query and get the topics
     
    9190    } else {
    9291        $post_statuses = array( bbp_get_public_status_id(), bbp_get_closed_status_id() );
    93     }
    94 
    95     // Add the bozo status if user is a bozo
    96     if ( bbp_is_user_bozo() ) {
    97         $post_statuses[] = bbp_get_bozo_status_id();
    9892    }
    9993
Note: See TracChangeset for help on using the changeset viewer.