REDROOM
PHP 8.2.31
Path:
Logout
Edit File
Size: 1.25 KB
Close
/home/nshryvcy/himaltourism.com/wp-content/plugins/jetpack/sal/class.json-api-platform.php
Text
Base64
<?php // phpcs:ignore WordPress.Files.FileName.InvalidClassFileName /** * SAL_Platform class which defines a token to later be associated with a Jetpack site * * @package automattic/jetpack */ require_once __DIR__ . '/class.json-api-token.php'; /** * Base class for SAL_Platform */ abstract class SAL_Platform { /** * A token that will represent a SAL_Token instance, default is empty. * * @var SAL_Token */ public $token; /** * Contructs the SAL_Platform instance * * @param SAL_Token $token The variable which will store the SAL_Token instance. */ public function __construct( $token ) { if ( is_array( $token ) ) { $token = SAL_Token::from_rest_token( $token ); } else { $token = SAL_Token::for_anonymous_user(); } $this->token = $token; } /** * This is the get_site function declaration, initially not implemented. * * @param int $blog_id The sites Jetpack blog ID. * @see class.json-api-platform-jetpack.php for the implementation of this function. */ abstract public function get_site( $blog_id ); } if ( defined( 'IS_WPCOM' ) && IS_WPCOM ) { require_once dirname( WP_CONTENT_DIR ) . '/public.api/rest/sal/class.json-api-platform-wpcom.php'; } else { require_once __DIR__ . '/class.json-api-platform-jetpack.php'; }
Save
Close
Exit & Reset
Text mode: syntax highlighting auto-detects file type.
Directory Contents
Dirs: 0 × Files: 11
Delete Selected
Select All
Select None
Sort:
Name
Size
Modified
Enable drag-to-move
Name
Size
Perms
Modified
Actions
class.json-api-date.php
2.47 KB
lrw-r--r--
2023-04-04 05:35:20
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
class.json-api-links.php
15.49 KB
lrw-r--r--
2023-04-04 05:35:20
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
class.json-api-metadata.php
1.79 KB
lrw-r--r--
2023-04-04 05:35:20
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
class.json-api-platform-jetpack.php
1.31 KB
lrw-r--r--
2023-04-04 05:35:20
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
class.json-api-platform.php
1.25 KB
lrw-r--r--
2023-04-04 05:35:20
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
class.json-api-post-base.php
30.50 KB
lrw-r--r--
2023-04-04 05:35:20
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
class.json-api-post-jetpack.php
2.17 KB
lrw-r--r--
2023-04-04 05:35:20
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
class.json-api-site-base.php
37.81 KB
lrw-r--r--
2023-04-04 05:35:20
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
class.json-api-site-jetpack-base.php
10.81 KB
lrw-r--r--
2023-04-04 05:35:20
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
class.json-api-site-jetpack.php
16.27 KB
lrw-r--r--
2023-04-04 05:35:20
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
class.json-api-token.php
3.65 KB
lrw-r--r--
2023-04-04 05:35:20
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
Zip Selected
If ZipArchive is unavailable, a
.tar
will be created (no compression).