Conflicts with ACF Pro (WYSIWYG / Textarea)
-
Good day
Just wanted to report a bug that I have found on your plugin.
Bug
When ACF field WYSIWYG/Textarea left empty it will automatically get the page/post content.Trace Code
add_filter(‘acf/load_value/type=textarea’, [$this, ‘optimize_html’], 20, 3);
add_filter(‘acf/load_value/type=wysiwyg’, [$this, ‘optimize_html’], 20, 3);Found the issue it was
$content = $this->optimizer->optimize_html($content);
$return = $this->document->saveHTML(); // this is the code that causes the issue.Hope you can quickly release some patch.
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘Conflicts with ACF Pro (WYSIWYG / Textarea)’ is closed to new replies.