Changeset 3505 for branches/plugin/bbp-includes/bbp-core-caps.php
- Timestamp:
- 09/10/2011 10:27:19 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/plugin/bbp-includes/bbp-core-caps.php
r3504 r3505 165 165 $post_type = get_post_type_object( $post->post_type ); 166 166 167 if ( 'private' != $post->post_status )167 if ( bbp_get_public_status_id() == $post->post_status ) 168 168 $caps[] = 'read'; 169 169 elseif ( (int) $user_id == (int) $post->post_author )
Note: See TracChangeset
for help on using the changeset viewer.