webmaestro
Member
Posted 11 months ago #
Might there be an option to restrict the configuration so that only SITE_ADMINS can set the 'global' preferences (not 'Administrator' but WPMU 'Site Admins'), perhaps using something along the lines this pseudo-patch to line 77 of widget-cache.php (not tested!):
if((is_admin()&&!isset($wpmu_version)) || (is_site_admin()&&isset($wpmu_version)))
AndrewZhang
Member
Posted 11 months ago #
Hi,
See you again:)
If want to hidden settings page, you might just add the conditions to these lines.
add_action('admin_menu', array(&$this,'wp_add_options_page'));
add_action('dashmenu', array(&$this,'dashboard_delete_wg_cache'));
webmaestro
Member
Posted 11 months ago #
I would prefer not to add/modify code, for plugins and CORE components I use where possible. More preferable (for me at least) is to have the code updated so my edits won't have to be re-merged for each release.
I second this. I'd love to use this with wpmu