← All changes
|
_inc/lib/core-api/wpcom-endpoints/class-wpcom-rest-api-v2-endpoint-following.php
+4
-0
13.3.3
→
16.3-a.5
View file →
| @@ -8,8 +8,12 @@ | ||
| 8 | 8 | |
| 9 | 9 | use Automattic\Jetpack\Connection\Client; |
| 10 | 10 | use Automattic\Jetpack\Status\Visitor; |
| 11 | 11 | |
| 12 | +if ( ! defined( 'ABSPATH' ) ) { | |
| 13 | + exit( 0 ); | |
| 14 | +} | |
| 15 | + | |
| 12 | 16 | /** |
| 13 | 17 | * Class WPCOM_REST_API_V2_Endpoint_Following |
| 14 | 18 | */ |
| 15 | 19 | class WPCOM_REST_API_V2_Endpoint_Following extends WP_REST_Controller { |