WordPress.org

Ready to get started?Download WordPress

Forums

Live Blogging
[resolved] [BUG] Dollar signs and numerals are being erased at output (2 posts)

  1. Dann78
    Member
    Posted 1 year ago #

    This issue has been noted many months ago and has still persisted into the latest version:

    http://wordpress.org/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.

    http://wordpress.org/extend/plugins/live-blogging/

  2. chrisnorthwood
    Member
    Plugin Author

    Posted 11 months ago #

    Hi Dann78,

    I've fixed this bug now, it'll be available in the next release of the plugin.

    Thanks for reporting it

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic