Skip to content

Commit 3436afe

Browse files
committed
Drop WP 6.5 support
1 parent d50c032 commit 3436afe

File tree

2 files changed

+3
-15
lines changed

2 files changed

+3
-15
lines changed

html-api-debugger/html-api-debugger.php

Lines changed: 1 addition & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
* Plugin URI: https://github.com/sirreal/html-api-debugger
55
* Description: Add a page to wp-admin for debugging the HTML API.
66
* Version: 2.0
7-
* Requires at least: 6.5
7+
* Requires at least: 6.6
88
* Tested up to: 6.7
99
* Author: Jon Surrell
1010
* Author URI: https://profiles.wordpress.org/jonsurrell/
@@ -32,19 +32,6 @@ function init() {
3232
}
3333
$done = true;
3434

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-
4835
add_action(
4936
'rest_api_init',
5037
function () {

html-api-debugger/readme.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
=== HTML API Debugger ===
22
Contributors: jonsurrell
33
Tags: HTML API, development, debug
4-
Requires at least: 6.5
4+
Requires at least: 6.6
55
Tested up to: 6.7
66
Stable tag: 2.0
77
License: GPLv2 or later
@@ -14,6 +14,7 @@ Add a page to wp-admin for debugging the HTML API.
1414
= 2.0 =
1515
* Add ability to replay token processing.
1616
* Fix quirks mode fragment parsing.
17+
* Drop support for WordPress 6.5.
1718

1819
= 1.9 =
1920
* Update WordPress Playground links to use current query args.

0 commit comments

Comments
 (0)