WordPress.org

Ready to get started?Download WordPress

Forums

Calendar
Cannot use $ sign (3 posts)

  1. SBonse
    Member
    Posted 2 years ago #

    I searched for help on the plugin author's forum regarding this problem and was not able to find a solution.
    The best anyone was able to offer there was to add str_replace('$','\$', stripslashes($event->event_desc)) at line 2170.

    This caused a fatal error in the php for me. I also noticed that this code is present in line 1942. I'm not sure what else to do in this situation.

    Any help would be appreciated. Thank you!

    http://wordpress.org/extend/plugins/calendar/

  2. KZeni
    Member
    Posted 2 years ago #

    That fixes it, but there was a syntax error in your str_replace (backslash needed to be doubled up).

    str_replace('$','\\$',stripslashes($event->event_desc))

  3. Kieran O'Shea
    Member
    Plugin Author

    Posted 1 year ago #

    I'll put a fix in place for this shortly

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags