Skip to content

Commit

Permalink
Avoid stripping out the form html from the enroll form shown to logge…
Browse files Browse the repository at this point in the history
…d in users.
  • Loading branch information
brianhogg committed Jul 24, 2024
1 parent ef79246 commit ec830b4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion includes/blocks/class-llms-blocks-pricing-table-block.php
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ public function output( $attributes = array() ) {
remove_filter( 'llms_product_is_purchasable', '__return_true' );

if ( $block_content ) {
echo wp_kses_post( $block_content );
echo wp_kses( $block_content, LLMS_ALLOWED_HTML_FORM_FIELDS );
}
}
}
Expand Down

0 comments on commit ec830b4

Please sign in to comment.