PluginProbe
Jetpack – WP Security, Backup, Speed, & Growth / 16.3-a.7
Jetpack – WP Security, Backup, Speed, & Growth v16.3-a.7
16.3-a.5 16.3-a.7 16.3-a.3 16.3-a.1 16.2 16.2-beta 12.0.3 12.1.3 12.2.3 12.3.2 12.4.2 12.5.2 12.6.4 12.7.3 12.8.3 12.9.5 13.0.2 13.1.5 13.2.4 13.3.3 13.4.5 13.5.2 13.6.2 13.7.2 13.8.3 All 506 releases
← All changes | json-endpoints/jetpack/class.jetpack-json-api-themes-install-endpoint.php +9 -3 13.0.2 → 16.3-a.7 View file →
@@ -1,16 +1,22 @@
1 1 <?php // phpcs:ignore WordPress.Files.FileName.InvalidClassFileName
2 2
3 +use Automattic\Jetpack\Automatic_Install_Skin;
4 +use Automattic\Jetpack\Connection\Client;
5 +
6 +if ( ! defined( 'ABSPATH' ) ) {
7 + exit( 0 );
8 +}
9 +
3 10 require_once ABSPATH . 'wp-admin/includes/class-wp-upgrader.php';
4 11 require_once ABSPATH . 'wp-admin/includes/file.php';
5 12
6 -use Automattic\Jetpack\Automatic_Install_Skin;
7 -use Automattic\Jetpack\Connection\Client;
8 -
9 13 /**
10 14 * Themes install endpoint class.
11 15 *
12 16 * POST /sites/%s/themes/%s/install
17 + *
18 + * @phan-constructor-used-for-side-effects
13 19 */
14 20 class Jetpack_JSON_API_Themes_Install_Endpoint extends Jetpack_JSON_API_Themes_Endpoint {
15 21
16 22 /**