%PDF- %PDF-
Server IP : 218.247.87.48 / Your IP : 18.118.119.229 Web Server : Apache System : Linux ebs-124869 5.10.0-14-amd64 #1 SMP Debian 5.10.113-1 (2022-04-29) x86_64 User : wyxd4foasawwte ( 66334) PHP Version : 7.1.33 Disable Function : link,symlink,passthru,exec,system,shell_exec,proc_open,popen,pcntl_exec,pcntl_fork,socket_bind,stream_socket_server MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /home/wwwroot/wyxd4foasawwte/wwwroot/wp-includes/ |
Upload File : |
<?php /** * Dependencies API: _WP_Dependency class * * @since 4.7.0 * * @package WordPress * @subpackage Dependencies */ /** * Class _WP_Dependency * * Helper class to register a handle and associated data. * * @access private * @since 2.6.0 */ class _WP_Dependency { /** * The handle name. * * @access public * @since 2.6.0 * @var null */ public $handle; /** * The handle source. * * @access public * @since 2.6.0 * @var null */ public $src; /** * An array of handle dependencies. * * @access public * @since 2.6.0 * @var array */ public $deps = array(); /** * The handle version. * * Used for cache-busting. * * @access public * @since 2.6.0 * @var bool|string */ public $ver = false; /** * Additional arguments for the handle. * * @access public * @since 2.6.0 * @var null */ public $args = null; // Custom property, such as $in_footer or $media. /** * Extra data to supply to the handle. * * @access public * @since 2.6.0 * @var array */ public $extra = array(); /** * Setup dependencies. * * @since 2.6.0 */ public function __construct() { @list( $this->handle, $this->src, $this->deps, $this->ver, $this->args ) = func_get_args(); if ( ! is_array($this->deps) ) $this->deps = array(); } /** * Add handle data. * * @access public * @since 2.6.0 * * @param string $name The data key to add. * @param mixed $data The data value to add. * @return bool False if not scalar, true otherwise. */ public function add_data( $name, $data ) { if ( !is_scalar($name) ) return false; $this->extra[$name] = $data; return true; } }