Support » Plugin: Email Users » [Plugin: Email Users] When sending emails with a $ sign

Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Author Mike Walsh

    (@mpwalsh8)

    Can you try putting a backslash in front of the price to see if it fixes the problem?

    but then my post articles wouldnt be correct. There must be a way to fix this in the code?

    I’m having a similar problem. I have a page with several dollar amounts, and it’s cutting the dollar sign and first two digits off when it pulls it into the “Notify Users of a Post” screen.

    For example, “$123,456” becomes “3,456”.

    I tried replacing the $ with the ASCII code and it worked long enough for me to save the post, go to the Notify page and send, but then TinyMCE threw the $ back in place of the ASCII codes (insert rant about TinyMCE).

    Using the most recent versions of WordPress and Email Users. With this exception, your plugin has worked perfectly so far!

    Plugin Author Mike Walsh

    (@mpwalsh8)

    I’ll see if I can figure out what is causing this.

    Thanks, Mike! Ping me if I can provide any other feedback.

    Plugin Author Mike Walsh

    (@mpwalsh8)

    What is happening is preg_repalace() is seeing the $12.34 as part of the replacement pattern and is processing the $12 portion of it as a back reference. Now that I know what is happening, I need to fix it.

    This article explains the “gotcha” as one of the case studies.

    Plugin Author Mike Walsh

    (@mpwalsh8)

    Beta version of 4.3.15 which includes a fix for this problem is now available for testing! Let me know if you run into any issues.

    Plugin Author Mike Walsh

    (@mpwalsh8)

    Email Users v4.3.15 is now available which fixes this issue.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘[Plugin: Email Users] When sending emails with a $ sign’ is closed to new replies.