Support

Account

Home Forums Bug Reports WYSIWYG and apply_filters 'the_content' issue Reply To: WYSIWYG and apply_filters 'the_content' issue

  • Hi @kraft

    Thanks for the info.

    All the $_POST data should be fine, as ACF is rendering the form via do_shortcode and all input names within the form look correct.

    perhaps the issue is explained by the code on line https://github.com/Automattic/jetpack/blob/master/modules/contact-form/grunion-contact-form.php#L180.

    If you are running the the_content filter during the function, perhaps you have some code which is looking for an embeded form, which you then use as a validation method to continue processing the form.

    ACF save’s the shortcode (string) value within the post meta, not the $post->post_content so this validation would fail each time.

    Perhaps as a temp solution @angel-meraz could place the embed code within the post’s content as well as the ACF WYSIWYG field?