Opened 8 months ago
Last modified 8 months ago
#61409 new defect (bug)
JQMIGRATE warnings for bulk edit
Reported by: |
|
Owned by: | |
---|---|---|---|
Milestone: | Awaiting Review | Priority: | normal |
Severity: | normal | Version: | 6.5.4 |
Component: | Quick/Bulk Edit | Keywords: | has-patch |
Focuses: | Cc: |
Description
When using the "bulk edit" functionality for posts (or pages), I'm seeing two warnings in the browser console:
JQMIGRATE: jQuery.fn.click() event shorthand is deprecated JQMIGRATE: jQuery.fn.focus() event shorthand is deprecated
(You may need to define SCRIPT_DEBUG
to true
to see these.)
Also, when I remove one of the posts/pages from the bulk edit form (by clicking on the circular "x" icon), I get another focus warning.
Attachments (1)
Change History (5)
This ticket was mentioned in Slack in #core-test by z1ang. View the logs.
8 months ago
This ticket was mentioned in PR #6849 on WordPress/wordpress-develop by @anujrathore24.
8 months ago
#4
---
## PR Description
This PR is to resolve warnings a user will get on their browsers console for deprecated use of click and focus functions in jQuery when bulk editing.
### Steps to reproduce these warnings
Step 1: Go to WP admin dashboard
Step 2: Click pages
Step 3: Select multiple elements and choose "Edit" from bulk actions and then click on "Apply"
Step 4: In the browser console you will be able to see the warnings:
### Warnings on Console
- Trac ticket: https://core.trac.wordpress.org/ticket/61409
---
Reproduction Report
This report validates that the issue can be reproduced.
Environment
Actual Results
Additional Notes
JQMIGRATE: jQuery.fn.click() event shorthand is deprecated
JQMIGRATE: jQuery.fn.focus() event shorthand is deprecated