[wp-trac] [WordPress Trac] #56830: jQuery Migrate deprecation in wpdialog
WordPress Trac
noreply at wordpress.org
Tue Jan 24 12:23:54 UTC 2023
#56830: jQuery Migrate deprecation in wpdialog
----------------------------+-------------------------
Reporter: TobiasBg | Owner: audrasjb
Type: defect (bug) | Status: reopened
Priority: normal | Milestone: 6.2
Component: Administration | Version:
Severity: normal | Resolution:
Keywords: good-first-bug | Focuses: javascript
----------------------------+-------------------------
Comment (by TobiasBg):
Thanks for the patch. I'm not sure that getting rid of the `element` here
is the proper way though. This could have many implications and would
require a lot of testing (especially as this is mainly needed to work
around Webkit things).
I would suggest to go with `this.element.trigger('focus');` as all we
really want here for now is to silence a deprecation notice.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/56830#comment:14>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list