Ticket #8190: 8190.patch
| File 8190.patch, 714 bytes (added by , 6 years ago) |
|---|
-
src/bp-blogs/screens/create.php
14 14 */ 15 15 function bp_blogs_screen_create_a_blog() { 16 16 17 if ( !is_multisite() || !bp_is_blogs_component() || !bp_is_current_action( 'create' ) )17 if ( !is_multisite() || !bp_is_blogs_component() || !bp_is_current_action( 'create' ) || !is_user_logged_in() || !bp_blog_signup_enabled() ) { 18 18 return false; 19 } 19 20 20 if ( !is_user_logged_in() || !bp_blog_signup_enabled() )21 return false;22 23 21 /** 24 22 * Fires right before the loading of the Create A Blog screen template file. 25 23 *