• 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)))
Viewing 3 replies - 1 through 3 (of 3 total)
  • 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’));

    Thread Starter webmaestro

    (@webmaestro)

    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

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Plugin: WP Widget Cache] WPMU restrict to is_site_admin() = true’ is closed to new replies.