← All changes
|
json-endpoints/jetpack/class.jetpack-json-api-jps-woocommerce-connect-endpoint.php
+6
-0
12.7.3
→
16.3
View file →
| @@ -1,8 +1,14 @@ | ||
| 1 | 1 | <?php // phpcs:ignore WordPress.Files.FileName.InvalidClassFileName |
| 2 | 2 | |
| 3 | +if ( ! defined( 'ABSPATH' ) ) { | |
| 4 | + exit( 0 ); | |
| 5 | +} | |
| 6 | + | |
| 3 | 7 | /** |
| 4 | 8 | * JPS WooCommerce connect endpoint. |
| 9 | + * | |
| 10 | + * @phan-constructor-used-for-side-effects | |
| 5 | 11 | */ |
| 6 | 12 | class Jetpack_JSON_API_JPS_WooCommerce_Connect_Endpoint extends Jetpack_JSON_API_Endpoint { |
| 7 | 13 | |
| 8 | 14 | /** |