File tree Expand file tree Collapse file tree 2 files changed +3
-15
lines changed Expand file tree Collapse file tree 2 files changed +3
-15
lines changed Original file line number Diff line number Diff line change 4
4
* Plugin URI: https://github.com/sirreal/html-api-debugger
5
5
* Description: Add a page to wp-admin for debugging the HTML API.
6
6
* Version: 2.0
7
- * Requires at least: 6.5
7
+ * Requires at least: 6.6
8
8
* Tested up to: 6.7
9
9
* Author: Jon Surrell
10
10
* Author URI: https://profiles.wordpress.org/jonsurrell/
@@ -32,19 +32,6 @@ function init() {
32
32
}
33
33
$ done = true ;
34
34
35
- // WP < 6.6 doesn't support script modules or Interactivity API in wp-admin.
36
- if ( version_compare ( get_bloginfo ( 'version ' ), '6.6 ' , '< ' ) ) {
37
- if ( ! has_action ( 'admin_print_footer_scripts ' , array ( wp_script_modules (), 'print_import_map ' ) ) ) {
38
- add_action ( 'admin_print_footer_scripts ' , array ( wp_script_modules (), 'print_import_map ' ) );
39
- add_action ( 'admin_print_footer_scripts ' , array ( wp_script_modules (), 'print_enqueued_script_modules ' ) );
40
- add_action ( 'admin_print_footer_scripts ' , array ( wp_script_modules (), 'print_script_module_preloads ' ) );
41
- }
42
- if ( ! has_action ( 'admin_enqueue_scripts ' , array ( wp_interactivity (), 'register_script_modules ' ) ) ) {
43
- add_action ( 'admin_enqueue_scripts ' , array ( wp_interactivity (), 'register_script_modules ' ) );
44
- add_action ( 'admin_print_footer_scripts ' , array ( wp_interactivity (), 'print_client_interactivity_data ' ) );
45
- }
46
- }
47
-
48
35
add_action (
49
36
'rest_api_init ' ,
50
37
function () {
Original file line number Diff line number Diff line change 1
1
=== HTML API Debugger ===
2
2
Contributors: jonsurrell
3
3
Tags: HTML API, development, debug
4
- Requires at least: 6.5
4
+ Requires at least: 6.6
5
5
Tested up to: 6.7
6
6
Stable tag: 2.0
7
7
License: GPLv2 or later
@@ -14,6 +14,7 @@ Add a page to wp-admin for debugging the HTML API.
14
14
= 2.0 =
15
15
* Add ability to replay token processing.
16
16
* Fix quirks mode fragment parsing.
17
+ * Drop support for WordPress 6.5.
17
18
18
19
= 1.9 =
19
20
* Update WordPress Playground links to use current query args.
You can’t perform that action at this time.
0 commit comments