Opened 14 months ago
Last modified 2 weeks ago
#62757 new enhancement
Update jQuery UI library to version 1.14.1
| Reported by: |
|
Owned by: | |
|---|---|---|---|
| Milestone: | 7.1 | Priority: | normal |
| Severity: | normal | Version: | |
| Component: | External Libraries | Keywords: | has-patch dev-feedback |
| Focuses: | javascript | Cc: |
Description
An update is available for the jQuery UI library. Core currently bundles 1.14.1.
Changelog: https://blog.jqueryui.com/2024/10/jquery-ui-1-14-1-released/
Change History (13)
This ticket was mentioned in PR #8065 on WordPress/wordpress-develop by pankajsakariya23.
14 months ago
#1
- Keywords has-patch added; needs-patch removed
#4
@
12 months ago
Infosec penetration tests are starting to flag and fail sites with the old 1.13 jQuery. For example.
Maybe time to bite the bullet and move forward?
#6
@
3 months ago
I'd recommend keeping jQuery UI up to date. I see WordPress is still on 1.13.x and the 1.14.x line is already 1.5 years old. There were very few breaking changes in 1.14.0: https://blog.jqueryui.com/2024/08/jquery-ui-1-14-0-released/. cc @azaozz
#7
@
3 months ago
Upgrade guide is at https://jqueryui.com/upgrade-guide/1.14/. I expect the update to be quite easy.
@mukesh27 commented on PR #8065:
4 weeks ago
#9
@pankajsakariya23 Can you please update PR that update the latest version https://blog.jqueryui.com/2026/01/jquery-ui-1-14-2-released/?
#11
@
3 weeks ago
- Keywords dev-feedback added; needs-testing changes-requested removed
Patch Testing Report
Patch Tested: https://github.com/WordPress/wordpress-develop/pull/10893
Environment
- WordPress: 7.0-alpha-61215-src
- PHP: 8.2.29
- Server: nginx/1.29.4
- Database: mysqli (Server: 8.4.7 / Client: mysqlnd 8.2.29)
- Browser: Opera
- OS: macOS
- Theme: Twenty Twenty-Five 1.4
- MU Plugins: None activated
- Plugins:
- Code Snippets 3.9.5
- Test Reports 1.2.1
Steps taken
- Add the plugin provided in the Support Content section that has
wp_enqueue_script('jquery-ui-core');and displays its version in the bottom right of the screen. - Visit any page and confirm the enqueued
core.jsversion - ✅ Patch is solving the problem
Expected result
- After applying the patch, enqueued jQuery UI library switches to version 1.14.2
Screenshots/Screencast with results
Support Content
- Testing plugin below is created using
Claude.aitool
/**
* Plugin Name: jQuery UI Version Checker
* Description: Display enqueued jQuery UI version in admin and frontend
*/
add_action('wp_enqueue_scripts', 'check_jquery_ui_version', 999);
add_action('admin_enqueue_scripts', 'check_jquery_ui_version', 999);
function check_jquery_ui_version() {
global $wp_scripts;
// Force enqueue jQuery UI Core to check version
wp_enqueue_script('jquery-ui-core');
// Display version info
if (isset($wp_scripts->registered['jquery-ui-core'])) {
$version = $wp_scripts->registered['jquery-ui-core']->ver;
echo '<div style="position:fixed;bottom:20px;right:20px;background:#f00;color:#fff;padding:10px;z-index:99999;border-radius:5px;">';
echo '<strong>jQuery UI Version:</strong> ' . esc_html($version);
echo '</div>';
}
}
// Also log to console
add_action('wp_footer', 'log_jquery_ui_to_console', 999);
add_action('admin_footer', 'log_jquery_ui_to_console', 999);
function log_jquery_ui_to_console() {
?>
<script>
if (typeof jQuery !== 'undefined' && typeof jQuery.ui !== 'undefined') {
console.log('jQuery UI Version:', jQuery.ui.version);
}
</script>
<?php
}
#12
@
3 weeks ago
Note that PR #10893 is (pretty obviously) seriously flawed - I wouldn't waste time testing it.


Updates jQuery UI to the latest version v1.14.1