← All changes
|
jetpack_vendor/automattic/jetpack-premium-analytics/src/class-dashboard-section.php
+0
-6
16.3-a.3
→
16.3
View file →
| @@ -169,14 +169,8 @@ | ||
| 169 | 169 | * |
| 170 | 170 | * @return bool |
| 171 | 171 | */ |
| 172 | 172 | public function is_available() { |
| 173 | - // The preview scope is about the rollout rather than the site, so it sits ahead of the | |
| 174 | - // section's own check. | |
| 175 | - if ( ! is_dashboard_section_in_preview_scope( $this->dashboard_name, $this->slug ) ) { | |
| 176 | - return false; | |
| 177 | - } | |
| 178 | - | |
| 179 | 173 | if ( is_callable( $this->is_available ) ) { |
| 180 | 174 | return (bool) call_user_func( $this->is_available, $this ); |
| 181 | 175 | } |
| 182 | 176 | |