123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081 |
- <?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' );
- }
- }
|