| @@ -53,19 +53,8 @@ | ||
| 53 | 53 | * @since 2.2.2 |
| 54 | 54 | */ |
| 55 | 55 | public function maybe_configure_cache_plugins() { |
| 56 | 56 | |
| 57 | - // Only allow Administrators to update third party Plugin settings. | |
| 58 | - if ( ! current_user_can( 'manage_options' ) ) { | |
| 59 | - return; | |
| 60 | - } | |
| 61 | - | |
| 62 | - // If no Pages, Posts or CPTs are configured to use Restrict Content, don't | |
| 63 | - // configure any caching plugins. | |
| 64 | - if ( ! WP_ConvertKit()->get_class( 'admin_restrict_content' )->restrict_content_enabled() ) { | |
| 65 | - return; | |
| 66 | - } | |
| 67 | - | |
| 68 | 57 | $this->litespeed_cache(); |
| 69 | 58 | $this->w3_total_cache(); |
| 70 | 59 | $this->wp_fastest_cache(); |
| 71 | 60 | $this->wp_optimize(); |