← All changes
|
jetpack_vendor/automattic/jetpack-publicize/src/rest-api/class-proxy-requests.php
+4
-0
16.2-beta
→
16.3-beta
View file →
| @@ -8,8 +8,12 @@ | ||
| 8 | 8 | namespace Automattic\Jetpack\Publicize\REST_API; |
| 9 | 9 | |
| 10 | 10 | use Automattic\Jetpack\Connection\Traits\WPCOM_REST_API_Proxy_Request; |
| 11 | 11 | |
| 12 | +if ( ! defined( 'ABSPATH' ) ) { | |
| 13 | + exit( 0 ); | |
| 14 | +} | |
| 15 | + | |
| 12 | 16 | /** |
| 13 | 17 | * Helper class to make proxy requests to wpcom. |
| 14 | 18 | */ |
| 15 | 19 | class Proxy_Requests { |