WordPress.org

Ready to get started?Download WordPress

Forums

WP-Syntax
geshi.php broken line 1947. Upgrade it or fix it (1 post)

  1. rohdef
    Member
    Posted 2 years ago #

    Hey. To put things simple. geshi.php is broken on line 1947. There's a newer version out there, so I suggest you upgrade, since it's probably fixed in the newer version.

    This can also be fixed by adding a simple if-statement like this:

    if (isset($_SERVER['HTTP_'  . GESHI_NUMBER_BIN_PREFIX_0B])) {
                $geshi_number_prefix = $_SERVER['HTTP_'  . GESHI_NUMBER_BIN_PREFIX_0B];
                if (isset($geshi_number_prefix)) {
                    assert($geshi_number_prefix);
                    $this->language_data['NUMBERS'] = $geshi_number_prefix;
                }
            }

    http://wordpress.org/extend/plugins/wp-syntax/

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags