WordPress.org

Ready to get started?Download WordPress

Forums

Toggle Box
[resolved] Bugfix for 3.3.1 (5 posts)

  1. koneu
    Member
    Posted 2 years ago #

    The problem is in the function add_plugin. It has a line

    $plugin_array['toggle'] = plugins_url.'toggle-box/js/mce.js');

    This does not work. Under 3.3.1, it needs to read:

    $plugin_array['toggle'] = plugins_url('js/mce.js', __FILE__);

    Plugin_url is a function; then it suddenly starts loading the right javascript file.

    This probably is not truly the way this should be mended, but at least it gets the plugin to run again.

    http://wordpress.org/extend/plugins/toggle-box/

  2. CLauner
    Member
    Posted 2 years ago #

    Thank you koneu!

    This fixed the visual editor issue.

  3. ittybittyrush
    Member
    Posted 2 years ago #

    yes that fixed it for me... thanks so much!

  4. phantom.omaga
    Member
    Plugin Author

    Posted 2 years ago #

    O!!! i messed that up. thanks @koneu i will fix that ASAP
    ______________________________________________________________________
    Sorry for not being able to reply earlier i had my mock exams going on

  5. phantom.omaga
    Member
    Plugin Author

    Posted 2 years ago #

    the plugin has been updated with this fix

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags