Changeset 4222 for trunk/bbp-includes/bbp-topic-template.php
- Timestamp:
- 09/17/2012 12:03:03 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bbp-includes/bbp-topic-template.php
r4171 r4222 63 63 * @param mixed $args All the arguments supported by {@link WP_Query} 64 64 * @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 status66 65 * @uses bbp_get_topic_post_type() To get the topic post type 67 66 * @uses WP_Query To make query and get the topics … … 91 90 } else { 92 91 $post_statuses = array( bbp_get_public_status_id(), bbp_get_closed_status_id() ); 93 }94 95 // Add the bozo status if user is a bozo96 if ( bbp_is_user_bozo() ) {97 $post_statuses[] = bbp_get_bozo_status_id();98 92 } 99 93
Note: See TracChangeset
for help on using the changeset viewer.