https://t.me/RX1948
Server : LiteSpeed
System : Linux srv526460274 5.15.0-164-generic #174-Ubuntu SMP Fri Nov 14 20:25:16 UTC 2025 x86_64
User : kerao9884 ( 1082)
PHP Version : 8.0.30
Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare,
Directory :  /home/jasmin4d.net/public_html/wp-content/plugins/amp/src/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : /home/jasmin4d.net/public_html/wp-content/plugins/amp/src/DependencySupport.php
<?php
/**
 * Class to determine support for AMP plugin features.
 *
 * @package AmpProject\AmpWP
 */

namespace AmpProject\AmpWP;

use AmpProject\AmpWP\Infrastructure\Service;

/**
 * DependencySupport class.
 *
 * @internal
 * @package AmpProject\AmpWP
 * @since 2.1.2
 */
class DependencySupport implements Service {

	/**
	 * The minimum version of Gutenberg supported.
	 *
	 * @var string
	 */
	const GB_MIN_VERSION = '17.2.0';

	/**
	 * The minimum version of WordPress supported.
	 *
	 * @var string
	 */
	const WP_MIN_VERSION = '6.5';

	/**
	 * Determines whether core or Gutenberg provides minimal support.
	 *
	 * @return bool
	 */
	public function has_support() {
		return $this->has_support_from_core() || $this->has_support_from_gutenberg_plugin();
	}

	/**
	 * Returns whether the Gutenberg plugin provides minimal support.
	 *
	 * @return bool
	 */
	public function has_support_from_gutenberg_plugin() {
		return defined( 'GUTENBERG_VERSION' ) && version_compare( GUTENBERG_VERSION, self::GB_MIN_VERSION, '>=' );
	}

	/**
	 * Returns whether WP core provides minimum Gutenberg support.
	 *
	 * @return bool
	 */
	public function has_support_from_core() {
		return version_compare( get_bloginfo( 'version' ), self::WP_MIN_VERSION, '>=' );
	}
}

https://t.me/RX1948 - 2025