Make WordPress Core

Opened 2 months ago

Last modified 12 days ago

#60478 new enhancement

Upgrade to JQuery 4

Reported by: nickchomey's profile nickchomey Owned by:
Milestone: Future Release Priority: normal
Severity: normal Version:
Component: External Libraries Keywords: needs-patch
Focuses: javascript, performance Cc:

Description

JQuery just released a beta version of jQuery v4. Is this something that wp core will be looking to implement?

https://blog.jquery.com/2024/02/06/jquery-4-0-0-beta/

Change History (13)

This ticket was mentioned in Slack in #core by swissspidy. View the logs.


2 months ago

#2 @mgol
2 months ago

#60511 was marked as a duplicate.

#3 @swissspidy
2 months ago

  • Severity changed from critical to normal

#4 follow-up: @swissspidy
2 months ago

@azaozz Maybe something for the https://wordpress.org/plugins/wp-jquery-update-test/ plugin?

#5 in reply to: ↑ 4 @azaozz
2 months ago

  • Milestone changed from Awaiting Review to Future Release

Is this something that wp core will be looking to implement?

Of course :)

Replying to swissspidy:

Maybe something for the https://wordpress.org/plugins/wp-jquery-update-test/ plugin?

Yep, thinking the test plugin can be updated for WP 6.5 (currently in beta). Then try to time the update to jQuery 4.0 depending on when it is released.

Last edited 2 months ago by azaozz (previous) (diff)

#6 @firoz2456
7 weeks ago

The https://wordpress.org/plugins/wp-jquery-update-test/ plugin is not compatible with newer versions of WordPress; it is only compatible with WordPress 5.6 and earlier versions.
Does anyone have suggestions on how to test it with jQuery 4.0.0 BETA?

This ticket was mentioned in PR #6304 on WordPress/wordpress-develop by @adamsilverstein.


5 weeks ago
#7

  • Keywords has-patch has-unit-tests added

Trac ticket:

@adamsilverstein commented on PR #6304:


4 weeks ago
#8

All tests pass here despite having removed utf8_encode, which is unexpected. is it possible this encoding is no longer required?

#9 @adamsilverstein
3 weeks ago

  • Focuses performance added

#10 @adamsilverstein
3 weeks ago

Adding the performance tag, noting that the new jQuery version touts some performance benefits, including a "slim" version with a smaller size. https://blog.jquery.com/2024/02/06/jquery-4-0-0-beta/

This ticket was mentioned in Slack in #core-performance by mukeshpanchal27. View the logs.


12 days ago

#12 @mukesh27
12 days ago

  • Keywords needs-patch added; has-patch has-unit-tests removed

#13 @adamsilverstein
12 days ago

Note the linked PR above is not related to this ticket, I'm not sure how it got linked and can't seem to remove the linkage.

Note: See TracTickets for help on using tickets.