Ticket #2593: 2593.diff
| File 2593.diff, 972 bytes (added by , 12 years ago) |
|---|
-
src/includes/replies/template.php
143 143 ); 144 144 145 145 // What are the default allowed statuses (based on user caps) 146 147 // Add support for private status 148 if ( current_user_can( 'read_private_replies' ) ) { 149 $post_statuses[] = bbp_get_private_status_id(); 150 } 151 152 // Check if view=all 146 153 if ( bbp_get_view_all() ) { 147 154 148 155 // Default view=all statuses … … 161 168 // Join post statuses together 162 169 $default['post_status'] = implode( ',', $post_statuses ); 163 170 171 } elseif ( current_user_can( 'read_private_replies' ) ) { 172 173 // Default statuses 174 $post_statuses = array( 175 bbp_get_public_status_id(), 176 bbp_get_closed_status_id(), 177 bbp_get_private_status_id() 178 ); 179 180 // Join post statuses together 181 $default['post_status'] = implode( ',', $post_statuses ); 182
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)