WordPress.org

Ready to get started?Download WordPress

Forums

Crayon Syntax Highlighter
[resolved] Undefined var `langs` in list_posts.php (3 posts)

  1. Andrew Biss
    Member
    Posted 2 years ago #

    Hi,

    Line 16 of \util\list_posts.php uses undefined variable langs to add the crayon-table-last CSS class to the last row of the table.

    Changing count($langs) to count($posts) adds the CSS class to the last row of the table as expected.

    Regards,

    Andrew.

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

  2. akarmenia
    Member
    Plugin Author

    Posted 2 years ago #

    Thanks :)

  3. Andrew Biss
    Member
    Posted 2 years ago #

    Works OK in version _1.13.1_beta from github.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.