Closed ernestmarcinko closed 3 months ago
As of a recent change in 4.26.6, the advanced title and content fields are separately processed and the HTML is removed during the post-process.
In most cases this is undesired, as well as causing issues with some built in fields like _price_html - where the <del> and <ins> tags are removed.
_price_html
<del>
<ins>
$value = Html::stripTags($value, $sd['striptagsexclude']);
https://github.com/WPDreams/ajax-search-pro/blob/3937f2f178df523ceb721db46b5c134ed4bbcf65/includes/classes/Search/SearchPostTypes.php#L1663-L1672
As of a recent change in 4.26.6, the advanced title and content fields are separately processed and the HTML is removed during the post-process.
In most cases this is undesired, as well as causing issues with some built in fields like
_price_html
- where the<del>
and<ins>
tags are removed.$value = Html::stripTags($value, $sd['striptagsexclude']);
https://github.com/WPDreams/ajax-search-pro/blob/3937f2f178df523ceb721db46b5c134ed4bbcf65/includes/classes/Search/SearchPostTypes.php#L1663-L1672
Solution