Skip to content

Commit

Permalink
Adding <p> tags
Browse files Browse the repository at this point in the history
  • Loading branch information
dparker1005 committed Jul 10, 2024
1 parent 65c7347 commit 4762225
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pmpro-approvals.php
Original file line number Diff line number Diff line change
Expand Up @@ -1316,9 +1316,9 @@ public static function pmpro_non_member_text_filter( $text ) {
}

if ( self::isPending( $current_user->ID, $user_level->id ) ) {
return esc_html__( 'Your membership requires approval before you are able to view this content.', 'pmpro-approvals' );
return '<p>' . esc_html__( 'Your membership requires approval before you are able to view this content.', 'pmpro-approvals' ) . '</p>';
} elseif ( self::isDenied( $current_user->ID, $user_level->id ) ) {
return esc_html__( 'Your membership application has been denied. Contact the site owners if you believe this is an error.', 'pmpro-approvals' );
return '<p>' . esc_html__( 'Your membership application has been denied. Contact the site owners if you believe this is an error.', 'pmpro-approvals' ) . '</p>';
}
}
}
Expand Down

0 comments on commit 4762225

Please sign in to comment.