Skip to content

jQuery: Update to remove deprecations #987

Open
@GaryJones

Description

@GaryJones

Here are the versions of jQuery included with core versions of WordPress:

WP 5.5 = jQuery 1.12.4
WP 5.6 = jQuery 3.5.1
WP 5.7 = jQuery 3.5.1
WP 5.8 = jQuery 3.6.0
WP 5.9 = jQuery 3.6.0
WP 6.0 = jQuery 3.6.0
WP 6.1 = jQuery 3.6.1
WP 6.2 = jQuery 3.6.4
WP 6.3 = jQuery 3.7.0

Once we require a higher minimum version of WordPress, then the jQuery code in the plugin should also be updated. https://api.jquery.com/category/deprecated/deprecated-3.0/ and the similar pages for later jQuery versions show the deprecations.

Don't switch away from deprecated functions to replacement functions if the replacement functions don't exist in a version of jQuery that maps to a version of WordPress that we still need to support.

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions