403Webshell
Server IP : 45.77.68.45  /  Your IP : 127.0.0.100
Web Server : PHPix/0.2.2 (Caddy compatible)
System : wasi wasmer.sh 0.0.0 0.0.0 wasm32
User :  ( 1)
PHP Version : 8.3.21
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /app/wp-content/plugins/wordpress-seo/admin/capabilities/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /app/wp-content/plugins/wordpress-seo/admin/capabilities/class-capability-manager-factory.php
<?php
/**
 * WPSEO plugin file.
 *
 * @package WPSEO\Admin\Capabilities
 */

/**
 * Capability Manager Factory.
 */
class WPSEO_Capability_Manager_Factory {

	/**
	 * Returns the Manager to use.
	 *
	 * @param string $plugin_type Whether it's Free or Premium.
	 *
	 * @return WPSEO_Capability_Manager Manager to use.
	 */
	public static function get( $plugin_type = 'free' ) {
		static $manager = [];

		if ( ! array_key_exists( $plugin_type, $manager ) ) {
			if ( function_exists( 'wpcom_vip_add_role_caps' ) ) {
				$manager[ $plugin_type ] = new WPSEO_Capability_Manager_VIP();
			}

			if ( ! function_exists( 'wpcom_vip_add_role_caps' ) ) {
				$manager[ $plugin_type ] = new WPSEO_Capability_Manager_WP();
			}
		}

		return $manager[ $plugin_type ];
	}
}

Youez - 2016 - github.com/yon3zu
LinuXploit