| @@ -10,8 +10,12 @@ | ||
| 10 | 10 | */ |
| 11 | 11 | use Automattic\Jetpack\Status\Host; |
| 12 | 12 | use Automattic\Jetpack\Sync\Functions; |
| 13 | 13 | |
| 14 | +if ( ! defined( 'ABSPATH' ) ) { | |
| 15 | + exit( 0 ); | |
| 16 | +} | |
| 17 | + | |
| 14 | 18 | require_once __DIR__ . '/class.json-api-site-jetpack-base.php'; |
| 15 | 19 | require_once __DIR__ . '/class.json-api-post-jetpack.php'; |
| 16 | 20 | |
| 17 | 21 | /** |
| @@ -401,10 +405,8 @@ | ||
| 401 | 405 | } |
| 402 | 406 | |
| 403 | 407 | /** |
| 404 | 408 | * Defaults to false instead of returning the current site plan. |
| 405 | - * | |
| 406 | - * @see /modules/masterbar/admin-menu/class-dashboard-switcher-tracking.php. | |
| 407 | 409 | * |
| 408 | 410 | * @return bool |
| 409 | 411 | */ |
| 410 | 412 | public function get_plan() { |