Title: [Plugin: Toggle Box] Bugfix for 3.3.1
Last modified: August 20, 2016

---

# [Plugin: Toggle Box] Bugfix for 3.3.1

 *  Resolved [koneu](https://wordpress.org/support/users/koneu/)
 * (@koneu)
 * [14 years, 4 months ago](https://wordpress.org/support/topic/plugin-toggle-box-bugfix-for-331/)
 * 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/](http://wordpress.org/extend/plugins/toggle-box/)

Viewing 4 replies - 1 through 4 (of 4 total)

 *  [CLauner](https://wordpress.org/support/users/clauner/)
 * (@clauner)
 * [14 years, 4 months ago](https://wordpress.org/support/topic/plugin-toggle-box-bugfix-for-331/#post-2503786)
 * Thank you koneu!
 * This fixed the visual editor issue.
 *  [ittybittyrush](https://wordpress.org/support/users/ittybittyrush/)
 * (@ittybittyrush)
 * [14 years, 4 months ago](https://wordpress.org/support/topic/plugin-toggle-box-bugfix-for-331/#post-2503796)
 * yes that fixed it for me… thanks so much!
 *  Plugin Author [phantom.omaga](https://wordpress.org/support/users/phantomomaga/)
 * (@phantomomaga)
 * [14 years, 4 months ago](https://wordpress.org/support/topic/plugin-toggle-box-bugfix-for-331/#post-2503807)
 * O!!! i messed that up. thanks [@koneu](https://wordpress.org/support/users/koneu/)
   i will fix that ASAP
    ______________________________________________________________________
   Sorry for not being able to reply earlier i had my mock exams going on
 *  Plugin Author [phantom.omaga](https://wordpress.org/support/users/phantomomaga/)
 * (@phantomomaga)
 * [14 years, 4 months ago](https://wordpress.org/support/topic/plugin-toggle-box-bugfix-for-331/#post-2503808)
 * the plugin has been updated with this fix

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘[Plugin: Toggle Box] Bugfix for 3.3.1’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/toggle-box.svg)
 * [Toggle Box](https://wordpress.org/plugins/toggle-box/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/toggle-box/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/toggle-box/)
 * [Active Topics](https://wordpress.org/support/plugin/toggle-box/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/toggle-box/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/toggle-box/reviews/)

 * 4 replies
 * 4 participants
 * Last reply from: [phantom.omaga](https://wordpress.org/support/users/phantomomaga/)
 * Last activity: [14 years, 4 months ago](https://wordpress.org/support/topic/plugin-toggle-box-bugfix-for-331/#post-2503808)
 * Status: resolved