[BUG] Dollar signs and numerals are being erased at output
-
This issue has been noted many months ago and has still persisted into the latest version:
https://www.ads-software.com/support/topic/plugin-live-blogging-numbers-before-comma-disappearing
The problem is in this code block:
$style = preg_replace( '/\$CONTENT/', apply_filters('the_content', $entry->post_content), $style); // Add content back in hooks
When the second argument of that function call contains dollar-currency amounts, PHP will treat them as backreferences. The backreferences need to be escaped in order for the output to properly display.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘[BUG] Dollar signs and numerals are being erased at output’ is closed to new replies.