GRAYBYTE WORDPRESS FILE MANAGER8737

Server IP : 162.213.255.40 / Your IP : 216.73.216.121
System : Linux server146.web-hosting.com 4.18.0-513.18.1.lve.el8.x86_64 #1 SMP Thu Feb 22 12:55:50 UTC 2024 x86_64
PHP Version : 8.0.30
Disable Function : NONE
cURL : ON | WGET : ON | Sudo : OFF | Pkexec : OFF

HOME

/home/hellrfbn/public_html/wp-content/plugins/jetpack/
Upload Files :
Current_dir [ Writeable ] Document_root [ Writeable ]

Command :


Current File : /home/hellrfbn/public_html/wp-content/plugins/jetpack//class.jetpack-client-server.php
<?php // phpcs:ignore WordPress.Files.FileName.InvalidClassFileName
/**
 * Client = Plugin
 * Client Server = API Methods the Plugin must respond to
 *
 * @package automattic/jetpack
 */

/**
 * Client = Plugin
 * Client Server = API Methods the Plugin must respond to
 */
class Jetpack_Client_Server {

	/**
	 * Whether the class has been initialized.
	 *
	 * @var bool
	 */
	private static $did_init = false;

	/**
	 * Initialize the hooks, but only once.
	 *
	 * @return void
	 */
	public static function init() {
		if ( static::$did_init ) {
			return;
		}

		add_filter( 'jetpack_rest_connection_check_response', array( static::class, 'connection_check' ) );

		static::$did_init = true;
	}

	/**
	 * Handle the client authorization error.
	 *
	 * @param WP_Error $error The error object.
	 */
	public static function client_authorize_error( $error ) {
		if ( $error instanceof WP_Error ) {
			Jetpack::state( 'error', $error->get_error_code() );
		}
	}

	/**
	 * The user is already authorized, we set the Jetpack state and adjust the redirect URL.
	 *
	 * @return string
	 */
	public static function client_authorize_already_authorized_url() {
		Jetpack::state( 'message', 'already_authorized' );
		return Jetpack::admin_url();
	}

	/**
	 * The authorization processing has started.
	 */
	public static function client_authorize_processing() {
		Jetpack::log( 'authorize' );
	}

	/**
	 * The authorization has completed (successfully or not), and the redirect URL is empty.
	 * We set the Jetpack Dashboard as the default URL.
	 *
	 * @return string
	 */
	public static function client_authorize_fallback_url() {
		return Jetpack::admin_url();
	}

	/**
	 * Deactivate a plugin.
	 *
	 * @param string $probable_file Expected plugin file.
	 * @param string $probable_title Expected plugin title.
	 * @return int 1 if a plugin was deactivated, 0 if not.
	 */
	public static function deactivate_plugin( $probable_file, $probable_title ) {
		include_once ABSPATH . 'wp-admin/includes/plugin.php';
		if ( is_plugin_active( $probable_file ) ) {
			deactivate_plugins( $probable_file );
			return 1;
		} else {
			// If the plugin is not in the usual place, try looking through all active plugins.
			$active_plugins = Jetpack::get_active_plugins();
			foreach ( $active_plugins as $plugin ) {
				$data = get_plugin_data( WP_PLUGIN_DIR . '/' . $plugin );
				if ( $data['Name'] === $probable_title ) {
					deactivate_plugins( $plugin );
					return 1;
				}
			}
		}

		return 0;
	}

	/**
	 * Filters the result of test_connection REST method
	 *
	 * @return string The current Jetpack version number
	 */
	public static function connection_check() {
		return JETPACK__VERSION;
	}
}

[ Back ]
Name
Size
Last Modified
Owner / Group
Permissions
Options
..
--
July 23 2025 07:45:52
hellrfbn / hellrfbn
0755
3rd-party
--
July 23 2025 07:38:28
hellrfbn / hellrfbn
0755
_inc
--
July 23 2025 07:38:28
hellrfbn / hellrfbn
0755
css
--
July 23 2025 07:38:28
hellrfbn / hellrfbn
0755
extensions
--
July 23 2025 07:38:28
hellrfbn / hellrfbn
0755
images
--
July 23 2025 07:38:28
hellrfbn / hellrfbn
0755
jetpack_vendor
--
July 23 2025 07:38:28
hellrfbn / hellrfbn
0755
json-endpoints
--
July 23 2025 07:38:28
hellrfbn / hellrfbn
0755
modules
--
July 23 2025 07:38:28
hellrfbn / hellrfbn
0755
sal
--
July 23 2025 07:38:28
hellrfbn / hellrfbn
0755
src
--
July 23 2025 07:38:28
hellrfbn / hellrfbn
0755
vendor
--
July 23 2025 07:38:28
hellrfbn / hellrfbn
0755
views
--
July 23 2025 07:38:28
hellrfbn / hellrfbn
0755
.htaccess
0.41 KB
July 23 2025 07:38:28
hellrfbn / hellrfbn
0644
CHANGELOG.md
681.401 KB
February 05 2025 15:44:59
hellrfbn / hellrfbn
0644
LICENSE.txt
17.984 KB
February 05 2025 15:45:00
hellrfbn / hellrfbn
0644
SECURITY.md
2.447 KB
February 05 2025 15:45:00
hellrfbn / hellrfbn
0644
class-jetpack-connection-status.php
0.711 KB
February 05 2025 15:44:59
hellrfbn / hellrfbn
0644
class-jetpack-gallery-settings.php
3.383 KB
February 05 2025 15:44:59
hellrfbn / hellrfbn
0644
class-jetpack-pre-connection-jitms.php
2.338 KB
February 05 2025 15:44:59
hellrfbn / hellrfbn
0644
class-jetpack-stats-dashboard-widget.php
7.152 KB
February 05 2025 15:44:59
hellrfbn / hellrfbn
0644
class-jetpack-xmlrpc-methods.php
8.375 KB
February 05 2025 15:44:59
hellrfbn / hellrfbn
0644
class.frame-nonce-preview.php
3.217 KB
February 05 2025 15:44:59
hellrfbn / hellrfbn
0644
class.jetpack-admin.php
18.485 KB
February 05 2025 15:44:59
hellrfbn / hellrfbn
0644
class.jetpack-affiliate.php
0.2 KB
February 05 2025 15:44:59
hellrfbn / hellrfbn
0644
class.jetpack-autoupdate.php
9.744 KB
February 05 2025 15:44:59
hellrfbn / hellrfbn
0644
class.jetpack-bbpress-json-api.compat.php
0.215 KB
February 05 2025 15:44:59
hellrfbn / hellrfbn
0644
class.jetpack-cli.php
71.664 KB
February 05 2025 15:44:59
hellrfbn / hellrfbn
0644
class.jetpack-client-server.php
2.621 KB
February 05 2025 15:44:59
hellrfbn / hellrfbn
0644
class.jetpack-gutenberg.php
47.193 KB
February 05 2025 15:44:59
hellrfbn / hellrfbn
0644
class.jetpack-heartbeat.php
4.555 KB
February 05 2025 15:44:59
hellrfbn / hellrfbn
0644
class.jetpack-modules-list-table.php
14.795 KB
February 05 2025 15:44:59
hellrfbn / hellrfbn
0644
class.jetpack-network-sites-list-table.php
5.982 KB
February 05 2025 15:44:59
hellrfbn / hellrfbn
0644
class.jetpack-network.php
21.069 KB
February 05 2025 15:44:59
hellrfbn / hellrfbn
0644
class.jetpack-plan.php
4.094 KB
February 05 2025 15:44:59
hellrfbn / hellrfbn
0644
class.jetpack-post-images.php
33.825 KB
February 05 2025 15:44:59
hellrfbn / hellrfbn
0644
class.jetpack-twitter-cards.php
12.92 KB
February 05 2025 15:44:59
hellrfbn / hellrfbn
0644
class.jetpack-user-agent.php
25.304 KB
February 05 2025 15:44:59
hellrfbn / hellrfbn
0644
class.jetpack.php
202.641 KB
February 05 2025 15:44:59
hellrfbn / hellrfbn
0644
class.json-api-endpoints.php
83.972 KB
February 05 2025 15:44:59
hellrfbn / hellrfbn
0644
class.json-api.php
34.497 KB
February 05 2025 15:44:59
hellrfbn / hellrfbn
0644
class.photon.php
1.736 KB
February 05 2025 15:44:59
hellrfbn / hellrfbn
0644
composer.json
3.923 KB
February 05 2025 15:44:59
hellrfbn / hellrfbn
0644
enhanced-open-graph.php
4.35 KB
February 05 2025 15:44:59
hellrfbn / hellrfbn
0644
functions.compat.php
4.275 KB
February 05 2025 15:44:59
hellrfbn / hellrfbn
0644
functions.cookies.php
2.038 KB
February 05 2025 15:44:59
hellrfbn / hellrfbn
0644
functions.global.php
15.377 KB
February 05 2025 15:44:59
hellrfbn / hellrfbn
0644
functions.is-mobile.php
2.47 KB
February 05 2025 15:44:59
hellrfbn / hellrfbn
0644
functions.opengraph.php
21.384 KB
February 05 2025 15:44:59
hellrfbn / hellrfbn
0644
functions.photon.php
3.037 KB
February 05 2025 15:44:59
hellrfbn / hellrfbn
0644
global.d.ts
0.047 KB
February 05 2025 15:44:59
hellrfbn / hellrfbn
0644
jetpack.php
8.573 KB
February 05 2025 15:44:59
hellrfbn / hellrfbn
0644
json-api-config.php
0.33 KB
February 05 2025 15:45:00
hellrfbn / hellrfbn
0644
json-endpoints.php
6.925 KB
February 05 2025 15:45:00
hellrfbn / hellrfbn
0644
load-jetpack.php
3.102 KB
February 05 2025 15:45:00
hellrfbn / hellrfbn
0644
locales.php
0.316 KB
February 05 2025 15:45:00
hellrfbn / hellrfbn
0644
readme.txt
32.56 KB
February 05 2025 15:45:00
hellrfbn / hellrfbn
0644
uninstall.php
1.604 KB
February 05 2025 15:45:00
hellrfbn / hellrfbn
0644
wpml-config.xml
1.259 KB
February 05 2025 15:45:00
hellrfbn / hellrfbn
0644

GRAYBYTE WORDPRESS FILE MANAGER @ 2025
CONTACT ME
Static GIF