diff --git a/cache/wp-rocket-no-cache-for-admins/wp-rocket-no-cache-for-admins.php b/cache/wp-rocket-no-cache-for-admins/wp-rocket-no-cache-for-admins.php index 4c09d3e..74808fe 100644 --- a/cache/wp-rocket-no-cache-for-admins/wp-rocket-no-cache-for-admins.php +++ b/cache/wp-rocket-no-cache-for-admins/wp-rocket-no-cache-for-admins.php @@ -24,8 +24,8 @@ * @author Vasilis Manthos */ function handle_cache_for_admins() { - // Only for admins. - if ( ! current_user_can( 'administrator' ) ) { + // Only for contributors and up. + if ( ! current_user_can( 'edit_posts' ) ) { return false; }