& #038;
-
To resolve a (temporary) bug in Litespeed Cache ESI I’ve been instructed to add the following code:
function buffer_output_after( $content ) {
$content = str_replace(‘& #038;’, ‘&’, $content); [space between & and # added on purpose]
return $content;
}
add_filter( ‘litespeed_buffer_after’, ‘buffer_output_after’, 0);But in Code Snippets plugin editor (after saving) this is automatically replaced by:
function buffer_output_after( $content ) {
$content = str_replace(‘&’, ‘&’, $content);
return $content;
}This replacement actually renders the entire function ineffective. Is there any way to achieve it within Code Snippets?
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- You must be logged in to reply to this topic.