Skip to content

content-audit/js/quickedit.js broken by wp 5.5 jquery migrate deprecation of .live()  #23

@tmuka

Description

@tmuka

I noticed content-audit/js/quickedit.js broken by wp 5.5 jquery migrate deprecation of .live()
this causes blocking javascript errors on the post edit page.

It might be possible to replace .live with .on like in this similar code, but it would need testing.

//old broken code using deprecated .live()
$('#bulk_edit').live('click', function () {

//more modern jquery code using .on
$('body').on('click', '#bulk_edit', function() {

hope this helps!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions