SILENT KILLERPanel

Current Path: > home > codekrsu > > escapematrixonline.com > wp-content > plugins > wordpress-seo > admin >


Operation   : Linux premium131.web-hosting.com 4.18.0-553.44.1.lve.el8.x86_64 #1 SMP Thu Mar 13 14:29:12 UTC 2025 x86_64
Software     : Apache
Server IP    : 162.0.232.56 | Your IP: 216.73.216.111
Domains      : 1034 Domain(s)
Permission   : [ 0755 ]

Files and Folders in: /home/codekrsu//escapematrixonline.com/wp-content/plugins/wordpress-seo/admin/

NameTypeSizeLast ModifiedActions
ajax Directory - -
capabilities Directory - -
endpoints Directory - -
exceptions Directory - -
filters Directory - -
formatter Directory - -
google_search_console Directory - -
import Directory - -
listeners Directory - -
menu Directory - -
metabox Directory - -
notifiers Directory - -
pages Directory - -
roles Directory - -
services Directory - -
statistics Directory - -
taxonomy Directory - -
tracking Directory - -
views Directory - -
watchers Directory - -
admin-settings-changed-listener.php File 2445 bytes January 19 2024 15:31:02.
ajax.php File 11428 bytes April 29 2025 14:26:42.
class-admin-asset-analysis-worker-location.php File 1849 bytes May 18 2021 17:42:44.
class-admin-asset-dev-server-location.php File 1672 bytes January 19 2024 15:31:02.
class-admin-asset-location.php File 488 bytes March 20 2018 20:19:04.
class-admin-asset-manager.php File 20141 bytes July 01 2025 15:54:20.
class-admin-asset-seo-location.php File 2126 bytes October 05 2021 12:07:22.
class-admin-editor-specific-replace-vars.php File 6495 bytes January 19 2024 15:31:02.
class-admin-gutenberg-compatibility-notification.php File 2610 bytes January 19 2024 15:31:02.
class-admin-help-panel.php File 2760 bytes June 30 2020 10:57:44.
class-admin-init.php File 10970 bytes November 05 2024 16:04:06.
class-admin-recommended-replace-vars.php File 6128 bytes January 19 2024 15:31:02.
class-admin-user-profile.php File 3323 bytes August 20 2024 14:37:16.
class-admin-utils.php File 2196 bytes October 03 2023 13:24:42.
class-admin.php File 13032 bytes July 01 2025 15:54:20.
class-asset.php File 4405 bytes October 22 2024 13:45:22.
class-bulk-description-editor-list-table.php File 2100 bytes September 01 2020 16:27:02.
class-bulk-editor-list-table.php File 30113 bytes April 07 2025 13:46:06.
class-bulk-title-editor-list-table.php File 2286 bytes May 26 2020 15:19:38.
class-collector.php File 1005 bytes April 07 2025 13:46:06.
class-config.php File 4998 bytes July 01 2025 15:54:20.
class-database-proxy.php File 7684 bytes April 07 2025 13:46:06.
class-export.php File 3541 bytes January 19 2024 15:31:02.
class-expose-shortlinks.php File 8432 bytes January 07 2025 15:31:18.
class-gutenberg-compatibility.php File 2529 bytes July 10 2025 12:49:38.
class-meta-columns.php File 27955 bytes March 04 2025 16:33:16.
class-my-yoast-proxy.php File 6285 bytes April 07 2025 13:46:06.
class-option-tab.php File 2268 bytes May 30 2022 15:34:46.
class-option-tabs-formatter.php File 2905 bytes January 19 2024 15:31:02.
class-option-tabs.php File 2311 bytes January 19 2024 15:31:02.
class-paper-presenter.php File 3600 bytes May 18 2021 17:42:44.
class-plugin-availability.php File 10304 bytes April 07 2025 13:46:06.
class-plugin-conflict.php File 4141 bytes April 03 2024 15:08:10.
class-premium-popup.php File 2875 bytes April 07 2025 13:46:06.
class-premium-upsell-admin-block.php File 5236 bytes October 02 2024 16:24:42.
class-primary-term-admin.php File 7524 bytes January 19 2024 15:31:02.
class-product-upsell-notice.php File 5886 bytes January 19 2024 15:31:02.
class-remote-request.php File 3203 bytes January 19 2024 15:31:02.
class-schema-person-upgrade-notification.php File 2284 bytes January 19 2024 15:31:02.
class-suggested-plugins.php File 4429 bytes March 19 2024 14:28:52.
class-wincher-dashboard-widget.php File 3615 bytes January 19 2024 15:31:02.
class-yoast-columns.php File 3602 bytes January 19 2024 15:31:02.
class-yoast-dashboard-widget.php File 4055 bytes January 19 2024 15:31:02.
class-yoast-form.php File 36597 bytes April 07 2025 13:46:06.
class-yoast-input-validation.php File 7377 bytes April 07 2025 13:46:06.
class-yoast-network-admin.php File 10208 bytes January 19 2024 15:31:02.
class-yoast-network-settings-api.php File 4281 bytes April 07 2025 13:46:06.
class-yoast-notification-center.php File 26684 bytes April 07 2025 13:46:06.
class-yoast-notification.php File 10059 bytes April 07 2025 13:46:06.
class-yoast-notifications.php File 7812 bytes January 19 2024 15:31:02.
class-yoast-plugin-conflict.php File 10574 bytes April 07 2025 13:46:06.
index.php File 38 bytes July 21 2015 17:37:30.
interface-collection.php File 257 bytes August 28 2018 15:09:12.
interface-installable.php File 254 bytes March 20 2018 20:19:04.

Reading File: /home/codekrsu//escapematrixonline.com/wp-content/plugins/wordpress-seo/admin//class-config.php

<?php
/**
 * WPSEO plugin file.
 *
 * @package WPSEO\Admin
 */

use Yoast\WP\SEO\Actions\Alert_Dismissal_Action;
use Yoast\WP\SEO\General\User_Interface\General_Page_Integration;
use Yoast\WP\SEO\Integrations\Academy_Integration;
use Yoast\WP\SEO\Integrations\Settings_Integration;
use Yoast\WP\SEO\Integrations\Support_Integration;
use Yoast\WP\SEO\Plans\User_Interface\Plans_Page_Integration;
use Yoast\WP\SEO\Promotions\Application\Promotion_Manager;

/**
 * Class WPSEO_Admin_Pages.
 *
 * Class with functionality for the Yoast SEO admin pages.
 */
class WPSEO_Admin_Pages {

	/**
	 * The option in use for the current admin page.
	 *
	 * @var string
	 */
	public $currentoption = 'wpseo';

	/**
	 * Holds the asset manager.
	 *
	 * @var WPSEO_Admin_Asset_Manager
	 */
	private $asset_manager;

	/**
	 * Class constructor, which basically only hooks the init function on the init hook.
	 */
	public function __construct() {
		add_action( 'init', [ $this, 'init' ], 20 );

		$this->asset_manager = new WPSEO_Admin_Asset_Manager();
	}

	/**
	 * Make sure the needed scripts are loaded for admin pages.
	 *
	 * @return void
	 */
	public function init() {
		// phpcs:ignore WordPress.Security.NonceVerification.Recommended -- Reason: We are not processing form information.
		$page = isset( $_GET['page'] ) && is_string( $_GET['page'] ) ? sanitize_text_field( wp_unslash( $_GET['page'] ) ) : '';

		// Don't load the scripts for the following pages.
		$page_exceptions    = in_array(
			$page,
			[
				Settings_Integration::PAGE,
				Academy_Integration::PAGE,
				Support_Integration::PAGE,
				Plans_Page_Integration::PAGE,
			],
			true
		);
		$new_dashboard_page = ( $page === General_Page_Integration::PAGE && ! is_network_admin() );
		if ( $page_exceptions || $new_dashboard_page ) {
			// Bail, this is managed in the applicable integration.
			return;
		}
		add_action( 'admin_enqueue_scripts', [ $this, 'config_page_scripts' ] );
		add_action( 'admin_enqueue_scripts', [ $this, 'config_page_styles' ] );
	}

	/**
	 * Loads the required styles for the config page.
	 *
	 * @return void
	 */
	public function config_page_styles() {
		wp_enqueue_style( 'dashboard' );
		wp_enqueue_style( 'thickbox' );
		wp_enqueue_style( 'global' );
		wp_enqueue_style( 'wp-admin' );
		$this->asset_manager->enqueue_style( 'admin-css' );
		$this->asset_manager->enqueue_style( 'monorepo' );
	}

	/**
	 * Loads the required scripts for the config page.
	 *
	 * @return void
	 */
	public function config_page_scripts() {
		$this->asset_manager->enqueue_script( 'settings' );
		wp_enqueue_script( 'dashboard' );
		wp_enqueue_script( 'thickbox' );

		$alert_dismissal_action = YoastSEO()->classes->get( Alert_Dismissal_Action::class );
		$dismissed_alerts       = $alert_dismissal_action->all_dismissed();

		$script_data = [
			'dismissedAlerts'                => $dismissed_alerts,
			'isRtl'                          => is_rtl(),
			'isPremium'                      => YoastSEO()->helpers->product->is_premium(),
			'currentPromotions'              => YoastSEO()->classes->get( Promotion_Manager::class )
				->get_current_promotions(),
			'webinarIntroFirstTimeConfigUrl' => $this->get_webinar_shortlink(),
			'linkParams'                     => WPSEO_Shortlinker::get_query_params(),
			'pluginUrl'                      => plugins_url( '', WPSEO_FILE ),
		];

		// phpcs:ignore WordPress.Security.NonceVerification.Recommended -- Reason: We are not processing form information.
		$page = isset( $_GET['page'] ) && is_string( $_GET['page'] ) ? sanitize_text_field( wp_unslash( $_GET['page'] ) ) : '';

		if ( in_array( $page, [ WPSEO_Admin::PAGE_IDENTIFIER, 'wpseo_workouts' ], true ) ) {
			wp_enqueue_media();

			$script_data['userEditUrl'] = add_query_arg( 'user_id', '{user_id}', admin_url( 'user-edit.php' ) );
		}

		if ( $page === 'wpseo_tools' ) {
			$this->enqueue_tools_scripts();
		}

		$this->asset_manager->localize_script( 'settings', 'wpseoScriptData', $script_data );
		$this->asset_manager->enqueue_user_language_script();
	}

	/**
	 * Enqueues and handles all the tool dependencies.
	 *
	 * @return void
	 */
	private function enqueue_tools_scripts() {
		// phpcs:ignore WordPress.Security.NonceVerification.Recommended -- Reason: We are not processing form information.
		$tool = isset( $_GET['tool'] ) && is_string( $_GET['tool'] ) ? sanitize_text_field( wp_unslash( $_GET['tool'] ) ) : '';

		if ( empty( $tool ) ) {
			$this->asset_manager->enqueue_script( 'yoast-seo' );
		}

		if ( $tool === 'bulk-editor' ) {
			$this->asset_manager->enqueue_script( 'bulk-editor' );
		}
	}

	/**
	 * Returns the appropriate shortlink for the Webinar.
	 *
	 * @return string The shortlink for the Webinar.
	 */
	private function get_webinar_shortlink() {
		if ( YoastSEO()->helpers->product->is_premium() ) {
			return WPSEO_Shortlinker::get( 'https://yoa.st/webinar-intro-first-time-config-premium' );
		}

		return WPSEO_Shortlinker::get( 'https://yoa.st/webinar-intro-first-time-config' );
	}
}

SILENT KILLER Tool