Title: Admin slow when plugin activated
Last modified: August 22, 2016

---

# Admin slow when plugin activated

 *  Resolved [ComonSoft](https://wordpress.org/support/users/comonsoft/)
 * (@comonsoft)
 * [11 years, 9 months ago](https://wordpress.org/support/topic/admin-slow-when-plugin-activated/)
 * Hi,
 * after migrate a site from dev to production, the WP admin is dramaticaly slow.
   If I deactivate your plugin, it works normaly and fast, any idea for this issue?
 * We use the lastest version of your plugin with Thine forest Theme.
 * Thx in advance
    John
 * [https://wordpress.org/plugins/option-tree/](https://wordpress.org/plugins/option-tree/)

Viewing 8 replies - 16 through 23 (of 23 total)

[←](https://wordpress.org/support/topic/admin-slow-when-plugin-activated/?output_format=md)
[1](https://wordpress.org/support/topic/admin-slow-when-plugin-activated/?output_format=md)
2

 *  [aljazm](https://wordpress.org/support/users/aljazm/)
 * (@aljazm)
 * [11 years, 9 months ago](https://wordpress.org/support/topic/admin-slow-when-plugin-activated/page/2/#post-5498621)
 * It works for me. The only problem I see is that the script only deletes 500 record
   per click. I only had about 4000 of them so it wasn’t to big of a problem. Thanks.
 *  Plugin Author [Derek Herman](https://wordpress.org/support/users/valendesigns/)
 * (@valendesigns)
 * [11 years, 9 months ago](https://wordpress.org/support/topic/admin-slow-when-plugin-activated/page/2/#post-5498624)
 * It should reload itself after deleting those 500 records via JavaScript, and 
   delete 500 more until there are zero records that needs to be consolidated; you
   should not need to click the button again.
 * Your server has safe mode on, otherwise it would set the execution time to unlimited
   while the script is running and delete all of them with one click.
 *  Thread Starter [ComonSoft](https://wordpress.org/support/users/comonsoft/)
 * (@comonsoft)
 * [11 years, 9 months ago](https://wordpress.org/support/topic/admin-slow-when-plugin-activated/page/2/#post-5498625)
 * Ok Derek, seems to work, I continue testing this afternoon and give you my feedback
   tonight or tomorrow.
 * The cleanup button delete 1000 by 1000 but I had to click 🙁
 * John
 *  Plugin Author [Derek Herman](https://wordpress.org/support/users/valendesigns/)
 * (@valendesigns)
 * [11 years, 9 months ago](https://wordpress.org/support/topic/admin-slow-when-plugin-activated/page/2/#post-5498626)
 * Did you wait a few seconds for the page to finish and reload? There is a 3 second
   delay after each set of 500 gets deleted.
 *  Thread Starter [ComonSoft](https://wordpress.org/support/users/comonsoft/)
 * (@comonsoft)
 * [11 years, 9 months ago](https://wordpress.org/support/topic/admin-slow-when-plugin-activated/page/2/#post-5498627)
 * No reload Derek 🙁 Don’t worry it cost me only 25 click -P
 *  Plugin Author [Derek Herman](https://wordpress.org/support/users/valendesigns/)
 * (@valendesigns)
 * [11 years, 9 months ago](https://wordpress.org/support/topic/admin-slow-when-plugin-activated/page/2/#post-5498628)
 * I had the `if` statement wrong. It was set to what I was using to test `safe_mode`.
   I’ve switched it back on that branch and should now delete all of them without
   reloading or clicking again when your server is not in `safe_mode`. Other changes
   will likely be made today as people are testing it on [Github](https://github.com/valendesigns/option-tree/pull/418),
   as well. I’ll push this to the public tonight.
 * Cheers,
    Derek
 *  Thread Starter [ComonSoft](https://wordpress.org/support/users/comonsoft/)
 * (@comonsoft)
 * [11 years, 9 months ago](https://wordpress.org/support/topic/admin-slow-when-plugin-activated/page/2/#post-5498636)
 * Derek,
 * seems to work correctly, after 3 hours of tests.
    Tx for fix 😉
 *  Plugin Author [Derek Herman](https://wordpress.org/support/users/valendesigns/)
 * (@valendesigns)
 * [11 years, 9 months ago](https://wordpress.org/support/topic/admin-slow-when-plugin-activated/page/2/#post-5498697)
 * To everyone else watching this ticket who didn’t test the 2.4.6-beta. The new
   stable 2.4.6 version is upgradable via the `wp-admin` panel. You should instantly
   see a change in the speed of the admin panel once upgraded to 2.4.6, if you were
   effected by this bug.
 * Sorry for the troubles guys!
 * Cheers,
    Derek

Viewing 8 replies - 16 through 23 (of 23 total)

[←](https://wordpress.org/support/topic/admin-slow-when-plugin-activated/?output_format=md)
[1](https://wordpress.org/support/topic/admin-slow-when-plugin-activated/?output_format=md)
2

The topic ‘Admin slow when plugin activated’ is closed to new replies.

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

## Tags

 * [activate](https://wordpress.org/support/topic-tag/activate/)
 * [admin](https://wordpress.org/support/topic-tag/admin/)

 * 23 replies
 * 3 participants
 * Last reply from: [Derek Herman](https://wordpress.org/support/users/valendesigns/)
 * Last activity: [11 years, 9 months ago](https://wordpress.org/support/topic/admin-slow-when-plugin-activated/page/2/#post-5498697)
 * Status: resolved