Changeset 4336
- Timestamp:
- 11/04/2012 09:35:47 PM (12 years ago)
- Location:
- trunk/includes
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/includes/core/options.php
r4294 r4336 36 36 '_bbp_allow_topic_tags' => 1, // Topic Tags 37 37 '_bbp_allow_anonymous' => 0, // Allow anonymous posting 38 '_bbp_allow_global_access' => 0, // Users from all sites can post38 '_bbp_allow_global_access' => 1, // Users from all sites can post 39 39 '_bbp_use_wp_editor' => 1, // Use the WordPress editor if available 40 40 '_bbp_use_autoembed' => 0, // Allow oEmbed in topics and replies … … 255 255 * @return bool Is global access allowed? 256 256 */ 257 function bbp_allow_global_access( $default = 0) {257 function bbp_allow_global_access( $default = 1 ) { 258 258 return (bool) apply_filters( 'bbp_allow_global_access', (bool) get_option( '_bbp_allow_global_access', $default ) ); 259 259 } -
trunk/includes/users/capabilities.php
r4335 r4336 94 94 95 95 // Bail if forum is not global 96 if ( ! bbp_allow_global_access( ) )96 if ( ! bbp_allow_global_access( true ) ) 97 97 return; 98 98
Note: See TracChangeset
for help on using the changeset viewer.