HEX
Server:
System: Linux aac286ea486c 5.14.0-687.15.1.el9_8.x86_64 #1 SMP PREEMPT_DYNAMIC Thu Jun 11 08:51:45 EDT 2026 x86_64
User: root (0)
PHP: 8.2.30
Disabled: pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,disk_free_space,diskfreespace
Upload Files
File: /dom877180/wp-content/plugins/wordpress-seo-premium/deprecated/class-yoast-modal.php
<?php
/**
 * WPSEO plugin file.
 *
 * @package WPSEO\Admin
 */

// Mark this file as deprecated.
_deprecated_file( __FILE__, 'WPSEO 9.2' );

/**
 * Class to implement a React modal.
 *
 * @deprecated 9.2
 */
class Yoast_Modal {

	/**
	 * Class constructor.
	 *
	 * @deprecated 9.2
	 */
	public function __construct() {
		_deprecated_function( __METHOD__, '9.2' );
	}

	/**
	 * Enqueues the assets needed for the modal.
	 *
	 * @deprecated 9.2
	 *
	 * @return void
	 */
	public function enqueue_assets() {
		_deprecated_function( 'Yoast_Modal::enqueue_assets', '9.2' );
	}

	/**
	 * Prints the modals configuration.
	 *
	 * @return void
	 */
	public function print_localized_config() {
		_deprecated_function( 'Yoast_Modal::print_localized_config', '9.2' );
	}

	/**
	 * Adds a single modal configuration to the modals configuration.
	 *
	 * @deprecated 9.2
	 *
	 * @param array $args The modal configuration arguments.
	 *
	 * @return void
	 */
	public static function add( $args ) {
		_deprecated_function( 'Yoast_Modal::add', '9.2' );
	}

	/**
	 * Gets the modals configuration.
	 *
	 * @deprecated 9.2
	 *
	 * @return void
	 */
	public function get_config() {
		_deprecated_function( 'Yoast_Modal::get_config', '9.2' );
	}

	/**
	 * Gets the default configuration for a modal.
	 *
	 * @deprecated 9.2
	 *
	 * @return void
	 */
	public static function get_defaults() {
		_deprecated_function( 'Yoast_Modal::get_defaults', '9.2' );
	}
}