HEX
Server: Apache
System: Linux host.fiblib.com 5.14.0-611.5.1.el9_7.x86_64 #1 SMP PREEMPT_DYNAMIC Tue Nov 11 08:09:09 EST 2025 x86_64
User: agritoday (1002)
PHP: 8.1.33
Disabled: NONE
Upload Files
File: /home/agritoday/www/wp-content/plugins-x/wordpress-seo/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' );
	}
}