|
@@ 83-87 (lines=5) @@
|
| 80 |
|
&& $this->ensure_feature( 'connection' ); |
| 81 |
|
} |
| 82 |
|
|
| 83 |
|
if ( $this->config['tracking'] ) { |
| 84 |
|
$this->ensure_class( 'Automattic\Jetpack\Terms_Of_Service' ) |
| 85 |
|
&& $this->ensure_class( 'Automattic\Jetpack\Tracking' ) |
| 86 |
|
&& $this->ensure_feature( 'tracking' ); |
| 87 |
|
} |
| 88 |
|
|
| 89 |
|
if ( $this->config['sync'] ) { |
| 90 |
|
$this->ensure_class( 'Automattic\Jetpack\Sync\Main' ) |
|
@@ 94-99 (lines=6) @@
|
| 91 |
|
&& $this->ensure_feature( 'sync' ); |
| 92 |
|
} |
| 93 |
|
|
| 94 |
|
if ( $this->config['jitm'] ) { |
| 95 |
|
// Check for the JITM class in both namespaces. The namespace was changed in jetpack-jitm v1.6. |
| 96 |
|
( $this->ensure_class( 'Automattic\Jetpack\JITMS\JITM', false ) |
| 97 |
|
|| $this->ensure_class( 'Automattic\Jetpack\JITM' ) ) |
| 98 |
|
&& $this->ensure_feature( 'jitm' ); |
| 99 |
|
} |
| 100 |
|
} |
| 101 |
|
|
| 102 |
|
/** |