Changeset 4564
- Timestamp:
- 12/10/2012 02:27:13 AM (11 years ago)
- Location:
- trunk/includes
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/includes/replies/template-tags.php
r4563 r4564 76 76 } 77 77 78 // Add support for private status 79 if ( current_user_can( 'read_private_replies' ) ) { 80 $post_statuses[] = bbp_get_private_status_id(); 81 } 82 78 83 $default_reply_search = !empty( $_REQUEST['rs'] ) ? $_REQUEST['rs'] : false; 79 84 $default_post_parent = ( bbp_is_single_topic() ) ? bbp_get_topic_id() : 'any'; -
trunk/includes/topics/template-tags.php
r4563 r4564 94 94 } 95 95 96 // Add support for private status 97 if ( current_user_can( 'read_private_topics' ) ) { 98 $post_statuses[] = bbp_get_private_status_id(); 99 } 100 96 101 $default_topic_search = !empty( $_REQUEST['ts'] ) ? $_REQUEST['ts'] : false; 97 102 $default_show_stickies = (bool) ( bbp_is_single_forum() || bbp_is_topic_archive() ) && ( false === $default_topic_search );
Note: See TracChangeset
for help on using the changeset viewer.