WordPress.org

Ready to get started?Download WordPress

Forums

Crayon Syntax Highlighter
JavaScript error in combination with Crayon Syntax and W3 Total (3 posts)

  1. pitschr
    Member
    Posted 1 year ago #

    Hello.

    Today I updated the Crayon Syntax (from 1.10 to 1.11) and noticed that I am getting JavaScript error:

    Error: ReferenceError: CrayonSyntaxSettings is not defined
    Source: http://www.javatrail.net/wp-content/w3tc/min/db197df1.1e3513.js
    Line: 72

    The root cause is that JS minify places following line:

    <script type="text/javascript" src="http://www.javatrail.net/wp-content/w3tc/min/db197df1.1e3513.js"></script>

    before:

    /* <![CDATA[ */
    var CrayonSyntaxSettings = ...;
    /* ]]> */

    Furthermore it is weird that "crayon_wp" in javascript also shows the full path of my home directory including my customer number!

    Apart from those issues I like your plugin!!!!

    - Chris

    http://wordpress.org/extend/plugins/crayon-syntax-highlighter/

  2. pitschr
    Member
    Posted 1 year ago #

    Additional input:

    I downgraded the crayon syntax highlighter from 1.11 back to 1.10 .

    Therefore, don't be confused if you see an older version of crayon syntax highlighter on my blog site :-)

    - Chris

  3. akarmenia
    Member
    Plugin Author

    Posted 1 year ago #

    Thanks for notifying me of this! Hmm... I'll try out JS minify!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.