Changeset 3431
- Timestamp:
- 08/20/2011 10:16:37 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/plugin/bbp-includes/bbp-forum-functions.php
r3430 r3431 1044 1044 1045 1045 // If forum is explicitly hidden and user not capable, set 404 1046 if ( !empty( $forum_id ) && bbp_is_forum_private( $forum_id ) && !current_user_can( 'read_ hidden_forums' ) )1046 if ( !empty( $forum_id ) && bbp_is_forum_private( $forum_id ) && !current_user_can( 'read_private_forums' ) ) 1047 1047 bbp_set_404(); 1048 1048 }
Note: See TracChangeset
for help on using the changeset viewer.