Skip to content

Commit 76dfd77

Browse files
enejbmatticbot
authored andcommitted
JITMS: Update jitm js to remove jquery (#43783)
* Jitms: Update main js file to remove JQuery We load this on every page. * changelog * Update projects/packages/jitm/src/js/jetpack-jitm.js Co-authored-by: Copilot <[email protected]> * Sure. Co-authored-by: Copilot <[email protected]> * Update encodeURIComponent(redirect) Co-authored-by: Copilot <[email protected]> * Replace DOMContentLoaded with domReady in jitm.js Switched from using document.addEventListener('DOMContentLoaded') to the @wordpress/dom-ready package for improved compatibility with WordPress standards. No functional changes, just improved integration with the WordPress environment. * Minor css fixes * minor fix Co-authored-by: Copilot <[email protected]> * Update use to also add 'Content-Type': 'application/json' Co-authored-by: Copilot <[email protected]> --------- Co-authored-by: Copilot <[email protected]> Committed via a GitHub action: https://github.com/Automattic/jetpack/actions/runs/16472129662 Upstream-Ref: Automattic/jetpack@02e8a11
1 parent 2e35acc commit 76dfd77

File tree

10 files changed

+82
-81
lines changed

10 files changed

+82
-81
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ This is an alpha version! The changes listed here are not final.
2828
- JITM: Fix ineffective caching due to expired plugin sync transient
2929
- Playground Importer: Fix query error generated by SQLite table with no entries in the data types cache table.
3030
- Private site: ensure private sites return a valid cookie expiration value
31+
- Update JITMs to remove jQuery dependency
3132

3233
## 7.0.0 - 2025-06-09
3334
### Added
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
<?php return array('dependencies' => array('jquery', 'wp-api-fetch', 'wp-polyfill', 'wp-url'), 'version' => '0997a33b24034e958e27');
1+
<?php return array('dependencies' => array('wp-api-fetch', 'wp-dom-ready', 'wp-polyfill', 'wp-url'), 'version' => '4f5dad65bc7fe5289ff5');

jetpack_vendor/automattic/jetpack-jitm/build/index.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

jetpack_vendor/automattic/jetpack-jitm/build/index.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)