1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
|
<?php /** * @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_constructor( 'Yoast_Modal', '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' ); } }
|