WordPress.org

Ready to get started?Download WordPress

Forums

Simple TOC
[resolved] Minor bug: Undefined variable: (2 posts)

  1. Stephen Harris
    Member
    Posted 1 year ago #

    Hi Ohad,

    Great plug-in, just what I needed - thanks! There is a minor bug which results in the following error message displaying:

    Notice: Undefined variable: post in /var/www/wordpress/wp-content/plugins/bainternet-simple-toc/simple-toc.php on line 172...

    You're just missing a global $post; at the top of toc_by_h_tags() function.

    http://wordpress.org/extend/plugins/bainternet-simple-toc/

  2. Bainternet
    Member
    Plugin Author

    Posted 1 year ago #

    Thanks fixed :)

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.