stuttter / wp-spider-cache

Your friendly neighborhood caching solution for WordPress
GNU General Public License v2.0
134 stars 16 forks source link

Multisite Difference #7

Closed bueltge closed 8 years ago

bueltge commented 8 years ago

Currently add the plugin in each site of a Multisite network a menu item. I think this is not helpful and a overhead for the admin-users of each site. I think the plugin should add on MU activation the menu item in the Network admin area. The table of the cached objects list all site IDs, in each site, not clear for each admin, much more interesting for the Super Admin-User.

Maybe you see this also, I will create a pull request with a solution?

JJJ commented 8 years ago

Sure!

On multisite, the top level menu should only be visible and available to super admins, thanks to an unmapped capability check. If regular admins can see it, that's a bug.

JJJ commented 8 years ago

After reviewing these changes, I've made some tweaks to make it perform as follows:

I think this is the best approach, because it circumvents the insanity of seeing all cached data for all sites in any 1 place, and it removes global cache data from the per-site view.

I'm comfortable closing this issue, now that there is an improved UI. Please reopen if you disagree, or create new issues for any further, more specific issues.

Thanks @bueltge and anyone else following along!