WordPress.org

Support

Support » Plugins and Hacks » Quick Cache (Speed Without Compromise) » [Plugin: Quick Cache ( Speed Without Compromise )] Enable clear cache button for admins in WPMU

[Plugin: Quick Cache ( Speed Without Compromise )] Enable clear cache button for admins in WPMU

Viewing 2 replies - 1 through 2 (of 2 total)
  • I am also looking for an answer to this question!

    To enable the clear cache button for regular site admins you can do the following steps:

    Open the file wp-content/plugins/quick-cache/includes/classes/menu-pages.inc.php. Then search for the function “add_admin_bar_nodes”.
    Inside this function on the second line replace
    if ((!is_multisite () && current_user_can (“edit_plugins”))
    by
    if ((!is_multisite () && current_user_can (“edit_posts”))
    and safe the file.
    Notice that instead of “edit_posts” you can take any other admin-permission. And remember not to update the plugin later on. If you do you have to hack the plugin again.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Plugin: Quick Cache ( Speed Without Compromise )] Enable clear cache button for admins in WPMU’ is closed to new replies.
Skip to toolbar