We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f510cd4 commit 0207ffcCopy full SHA for 0207ffc
classes/class-pojo-forms-ajax.php
@@ -13,7 +13,7 @@ public function preview_shortcode() {
13
14
$embed = new Pojo_Embed_Template();
15
echo $embed->get_header();
16
- echo do_shortcode( POJO_FORMS()->helpers->get_shortcode_text( $_POST['id'] ) );
+ echo do_shortcode( POJO_FORMS()->helpers->get_shortcode_text( absint( $_POST['id'] ) ) );
17
echo $embed->get_footer();
18
19
die();
0 commit comments