[Resolved] [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:
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.
- The topic ‘[Resolved] [BUG] Dollar signs and numerals are being erased at output’ is closed to new replies.