HEX
Server: Apache
System: Linux server 5.4.0-56-generic #62-Ubuntu SMP Mon Nov 23 19:20:19 UTC 2020 x86_64
User: losadagest (10000)
PHP: 7.4.33
Disabled: opcache_get_status
Upload Files
File: /var/www/vhosts/aceitunaslosada.com/web/wp-content/plugins/jetpack/sal/class.json-api-platform.php
<?php

require_once dirname( __FILE__ ) . '/class.json-api-token.php';

abstract class SAL_Platform {
	public $token;

	function __construct( $token ) {
		if ( is_array( $token ) ) {
			$token = SAL_Token::from_rest_token( $token );
		} else {
			$token = SAL_Token::for_anonymous_user();
		}

		$this->token = $token;
	}

	abstract public function get_site( $blog_id );
}

if ( defined( 'IS_WPCOM' ) && IS_WPCOM ) {
	require_once dirname( __FILE__ ) . '/class.json-api-platform-wpcom.php';
} else {
	require_once dirname( __FILE__ ) . '/class.json-api-platform-jetpack.php';
}