diff --git a/functions/membersonly.php b/functions/membersonly.php index 9b450f5..4505ea5 100644 --- a/functions/membersonly.php +++ b/functions/membersonly.php @@ -48,13 +48,13 @@ function comicpress_members_filter($query) { function shortcode_for_comicpress_members_only( $atts, $content = null ) { global $post, $userdata, $profileuser, $current_user, $errormsg; - $returninfo = '
'.__('There is Members Only content here.
To view this content you need to be a member of this site.','comicpress').'
', '', $returninfo); - $returninfo = str_replace('
', '', $returninfo); + $content = str_replace('', '', $content); + $content = str_replace('
', '', $content); + $returninfo = "$content
\r\n