| @@ -14,9 +14,9 @@ | ||
| 14 | 14 | * active plugins. |
| 15 | 15 | * |
| 16 | 16 | * @since 1.0.0 |
| 17 | 17 | */ |
| 18 | -class Plugins extends Base_Plugin { | |
| 18 | +class Plugins extends Base { | |
| 19 | 19 | |
| 20 | 20 | /** |
| 21 | 21 | * Active plugins. |
| 22 | 22 | * |
| @@ -71,9 +71,9 @@ | ||
| 71 | 71 | * |
| 72 | 72 | * @return bool True if the site has active plugins, False otherwise. |
| 73 | 73 | */ |
| 74 | 74 | public function is_enabled() { |
| 75 | - return (bool) $this->get_plugins(); | |
| 75 | + return ! ! $this->get_plugins(); | |
| 76 | 76 | } |
| 77 | 77 | |
| 78 | 78 | /** |
| 79 | 79 | * Get active plugins report fields. |