Opened 2 years ago
Last modified 2 years ago
#61409 new defect (bug)
JQMIGRATE warnings for bulk edit
| Reported by: | siliconforks | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | Awaiting Review |
| Component: | Quick/Bulk Edit | Version: | 6.5.4 |
| Severity: | normal | Keywords: | has-patch |
| Cc: | Focuses: |
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.
2 years ago
This ticket was mentioned in PR #6849 on WordPress/wordpress-develop by @anujrathore24.
2 years 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
---
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
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