PluginProbe
Yoast SEO – Advanced SEO with real-time guidance and built-in AI / 18.2
Yoast SEO – Advanced SEO with real-time guidance and built-in AI v18.2
28.5 28.4 28.3 28.2 28.1 28.0 27.9 27.8 27.7 27.6 27.5 trunk 18.0 18.1 18.2 18.3 18.4 18.4.1 18.5 18.5.1 18.6 18.7 18.8 18.9 19.0 All 129 releases
wordpress-seo / src / deprecated / admin / license-page-manager.php

license-page-manager.php in Yoast SEO – Advanced SEO with real-time guidance and built-in AI 18.2, at src/deprecated/admin/license-page-manager.php

85 lines 1.8 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 /**
3 * WPSEO plugin file.
4 *
5 * @package WPSEO\Admin
6 */
7
8 // phpcs:disable WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedClassFound -- Reason: The class is deprecated.
9
10 /**
11 * Represents the values for a single Yoast Premium extension plugin.
12 */
13 class WPSEO_License_Page_Manager implements WPSEO_WordPress_Integration {
14
15 /**
16 * Version number for License Page Manager.
17 *
18 * @var string
19 */
20 const VERSION_BACKWARDS_COMPATIBILITY = '2';
21
22 /**
23 * Registers all hooks to WordPress.
24 *
25 * @deprecated 15.4
26 * @codeCoverageIgnore
27 */
28 public function register_hooks() {
29 _deprecated_function( __METHOD__, 'WPSEO 15.4' );
30 }
31
32 /**
33 * Removes the faulty set notifications.
34 *
35 * @deprecated 15.4
36 * @codeCoverageIgnore
37 */
38 public function remove_faulty_notifications() {
39 _deprecated_function( __METHOD__, 'WPSEO 15.4' );
40 }
41
42 /**
43 * Handles the response.
44 *
45 * @deprecated 15.4
46 * @codeCoverageIgnore
47 *
48 * @param array $response HTTP response.
49 * @param array $request_arguments HTTP request arguments. Unused.
50 * @param string $url The request URL.
51 *
52 * @return array The response array.
53 */
54 public function handle_response( array $response, $request_arguments, $url ) {
55 _deprecated_function( __METHOD__, 'WPSEO 15.4' );
56
57 return $response;
58 }
59
60 /**
61 * Returns the license page to use based on the version number.
62 *
63 * @deprecated 15.4
64 * @codeCoverageIgnore
65 *
66 * @return string The page to use.
67 */
68 public function get_license_page() {
69 _deprecated_function( __METHOD__, '15.4' );
70
71 return 'licenses';
72 }
73
74 /**
75 * Validates the extensions and show a notice for the invalid extensions.
76 *
77 * @deprecated 15.4
78 * @codeCoverageIgnore
79 */
80 public function validate_extensions() {
81 _deprecated_function( __METHOD__, '15.4' );
82 }
83 }
84 // phpcs:enable
85