WordPress/wp-includes/js
audrasjb 0cdd1f8069 Code Modernization: Fix a JS error in `wpdialog`.
This changeset replaces `this.element._trigger('focus');` with `this.element.trigger('focus');` in `wpdialog` to fix a JS error introduced in [55052].

Indeed, `this` inside the `open()` function of `wpdialog` refers to the jQuery UI widget, whereas `this.element` is the jQuery object of the DOM element. Thus, native jQuery methods need to be used, as `_trigger` is only defined on the jQuery UI widget.

Follow-up to [55052].

Props TobiasBg, audrasjb, shubham1gupta.
Fixes #56830.

Built from https://develop.svn.wordpress.org/trunk@55134


git-svn-id: http://core.svn.wordpress.org/trunk@54667 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2023-01-24 21:13:12 +00:00
..
codemirror
crop
dist Editor: Add inert attribute polyfill. 2023-01-18 11:16:33 +00:00
imgareaselect Media: Fix the version string of `imgAreaSelect` to indicate when the second set of modifications were made. 2022-12-02 20:21:11 +00:00
jcrop External Libraries: Update Jcrop to version 0.9.15. 2022-03-24 20:07:05 +00:00
jquery External Libraries: Update jQuery to 3.6.3. 2022-12-22 03:25:30 +00:00
mediaelement External Libraries: Update MediaElement.js to version 4.2.17. 2022-09-29 14:21:11 +00:00
plupload External Libraries: Further fix jQuery deprecations in WordPress core. 2022-10-11 17:37:12 +00:00
swfupload
thickbox Media: Add support for WebP images in the Thickbox library. 2022-05-30 14:53:11 +00:00
tinymce Build/Test Tools: Update NPM dependencies to their latest versions. 2022-09-23 19:55:30 +00:00
admin-bar.js Build/Test Tools: Enable JSDocs to be linted with ESLint. 2020-07-27 23:35:02 +00:00
admin-bar.min.js Build/Test Tools: Update NPM dependencies to their latest versions. 2022-09-23 19:55:30 +00:00
api-request.js Site Health, App Passwords: Ensure REST API responses are properly translated. 2020-12-01 03:44:05 +00:00
api-request.min.js Build/Test Tools: Update some NPM dependencies to the latest versions. 2022-04-08 20:07:18 +00:00
autosave.js External Libraries: Further fix jQuery deprecations in WordPress core. 2021-03-18 19:01:03 +00:00
autosave.min.js Build/Test Tools: Update NPM dependencies to their latest versions. 2022-09-23 19:55:30 +00:00
backbone.js External Libraries: Update some external libraries. 2022-04-12 17:17:22 +00:00
backbone.min.js Build/Test Tools: Update npm dependencies to their latest versions. 2022-10-06 18:57:22 +00:00
clipboard.js External Libraries: Update `clipboard` and `polyfill-library`. 2022-10-04 15:55:23 +00:00
clipboard.min.js External Libraries: Update `clipboard` and `polyfill-library`. 2022-10-04 15:55:23 +00:00
colorpicker.js
colorpicker.min.js Build/Test Tools: Update NPM dependencies to their latest versions. 2022-09-23 19:55:30 +00:00
comment-reply.js Docs: Align spelling with American English. 2023-01-10 09:30:13 +00:00
comment-reply.min.js Build/Test Tools: Update some NPM dependencies to the latest versions. 2022-04-08 20:07:18 +00:00
customize-base.js External Libraries: Further fix jQuery deprecations in WordPress core. 2021-03-18 19:01:03 +00:00
customize-base.min.js Build/Test Tools: Update NPM dependencies to their latest versions. 2022-09-23 19:55:30 +00:00
customize-loader.js Docs: Remove extra spaces from `@param` tags. 2020-06-20 12:58:10 +00:00
customize-loader.min.js Build/Test Tools: Update some NPM dependencies to the latest versions. 2022-04-08 20:07:18 +00:00
customize-models.js Docs: Replace "AJAX" with "Ajax" in DocBlocks and comments, per the spelling glossary. 2020-06-25 12:43:07 +00:00
customize-models.min.js Build/Test Tools: Update some NPM dependencies to the latest versions. 2022-04-08 20:07:18 +00:00
customize-preview-nav-menus.js Build/Test Tools: Enable JSDocs to be linted with ESLint. 2020-07-27 23:35:02 +00:00
customize-preview-nav-menus.min.js Build/Test Tools: Update some NPM dependencies to the latest versions. 2022-04-08 20:07:18 +00:00
customize-preview-widgets.js Docs: Remove extra spaces from `@param` tags. 2020-06-20 12:58:10 +00:00
customize-preview-widgets.min.js Build/Test Tools: Update some NPM dependencies to the latest versions. 2022-04-08 20:07:18 +00:00
customize-preview.js Build/Test Tools: Enable JSDocs to be linted with ESLint. 2020-07-27 23:35:02 +00:00
customize-preview.min.js Build/Test Tools: Update NPM dependencies to their latest versions. 2022-09-23 19:55:30 +00:00
customize-selective-refresh.js Docs: Correct alignment for some parameters in JS documentation. 2020-07-28 00:07:03 +00:00
customize-selective-refresh.min.js Build/Test Tools: Update some NPM dependencies to the latest versions. 2022-04-08 20:07:18 +00:00
customize-views.js
customize-views.min.js Build/Test Tools: Update UglifyJS to the latest version. 2021-01-06 15:29:24 +00:00
heartbeat.js Autosave: Compare heartbeat intervals in same unit. 2022-04-20 05:55:06 +00:00
heartbeat.min.js Build/Test Tools: Update NPM dependencies to their latest versions. 2022-09-23 19:55:30 +00:00
hoverIntent.js External Libraries: Update jQuery hoverIntent to version 1.10.2. 2022-01-03 15:03:18 +00:00
hoverIntent.min.js Build/Test Tools: Update some NPM dependencies to the latest versions. 2022-04-08 20:07:18 +00:00
hoverintent-js.min.js
imagesloaded.min.js External Libraries: Update Masonry to 4.2.2 and imagesLoaded to 4.1.4. 2020-06-13 18:53:27 +00:00
json2.js
json2.min.js Build/Test Tools: Update NPM dependencies to their latest versions. 2022-09-23 19:55:30 +00:00
masonry.min.js External Libraries: Update Masonry to 4.2.2 and imagesLoaded to 4.1.4. 2020-06-13 18:53:27 +00:00
mce-view.js Build/Test Tools: Enable JSDocs to be linted with ESLint. 2020-07-27 23:35:02 +00:00
mce-view.min.js Build/Test Tools: Update some NPM dependencies to the latest versions. 2022-04-08 20:07:18 +00:00
media-audiovideo.js Build: Update webpack to v5.x 2022-04-11 12:04:30 +00:00
media-audiovideo.min.js Build/Test Tools: Update NPM dependencies to their latest versions. 2022-09-23 19:55:30 +00:00
media-editor.js Build/Test Tools: Enable JSDocs to be linted with ESLint. 2020-07-27 23:35:02 +00:00
media-editor.min.js Build/Test Tools: Update NPM dependencies to their latest versions. 2022-09-23 19:55:30 +00:00
media-grid.js Build: Update webpack to v5.x 2022-04-11 12:04:30 +00:00
media-grid.min.js Build/Test Tools: Update NPM dependencies to their latest versions. 2022-09-23 19:55:30 +00:00
media-models.js Build: Update webpack to v5.x 2022-04-11 12:04:30 +00:00
media-models.min.js Build/Test Tools: Update NPM dependencies to their latest versions. 2022-09-23 19:55:30 +00:00
media-views.js Media: Set https as placeholder for embedding media from URL. 2022-09-19 23:34:10 +00:00
media-views.min.js Build/Test Tools: Update NPM dependencies to their latest versions. 2022-09-23 19:55:30 +00:00
quicktags.js Editor: Revert [51748] and [51649]. They intorduced a bug where `wp.editor` may be replaced with `wp.oldEditor` in certain cases. 2021-09-08 23:29:58 +00:00
quicktags.min.js Build/Test Tools: Update some NPM dependencies to the latest versions. 2022-04-08 20:07:18 +00:00
shortcode.js
shortcode.min.js Build/Test Tools: Update NPM dependencies to their latest versions. 2022-09-23 19:55:30 +00:00
swfobject.js
tw-sack.js
tw-sack.min.js Build/Test Tools: Update some NPM dependencies to the latest versions. 2022-04-08 20:07:18 +00:00
twemoji.js Emoji: Update the Twemoji to version 14.0.2. 2022-04-12 05:56:23 +00:00
twemoji.min.js Emoji: Update the Twemoji to version 14.0.2. 2022-04-12 05:56:23 +00:00
underscore.js External Libraries: Update Underscore.js to version `1.13.6`. 2022-09-27 15:18:25 +00:00
underscore.min.js External Libraries: Update Underscore.js to version `1.13.6`. 2022-09-27 15:18:25 +00:00
utils.js
utils.min.js Build/Test Tools: Update NPM dependencies to their latest versions. 2022-09-23 19:55:30 +00:00
wp-ajax-response.js Administration: Audible messages on AJAX error cases. 2022-07-16 01:08:10 +00:00
wp-ajax-response.min.js Build/Test Tools: Update NPM dependencies to their latest versions. 2022-09-23 19:55:30 +00:00
wp-api.js Docs: Align spelling with American English. 2023-01-10 09:30:13 +00:00
wp-api.min.js Build/Test Tools: Update NPM dependencies to their latest versions. 2022-09-23 19:55:30 +00:00
wp-auth-check.js External Libraries: Further fix jQuery deprecations in WordPress core. 2021-03-18 19:01:03 +00:00
wp-auth-check.min.js External Libraries: Further fix jQuery deprecations in WordPress core. 2021-03-18 19:01:03 +00:00
wp-backbone.js Docs: Remove extra spaces from `@param` tags. 2020-06-20 12:58:10 +00:00
wp-backbone.min.js Build/Test Tools: Update some NPM dependencies to the latest versions. 2022-04-08 20:07:18 +00:00
wp-custom-header.js Customize: Set `playsinline` attribute for custom header videos. 2021-04-10 12:40:05 +00:00
wp-custom-header.min.js Customize: Set `playsinline` attribute for custom header videos. 2021-04-10 12:40:05 +00:00
wp-embed-template.js Embeds: Conditionally enqueue `wp-embed` only if needed and send `ready` message in case script loads after post embed windows. 2021-11-11 02:49:18 +00:00
wp-embed-template.min.js Build/Test Tools: Update some NPM dependencies to the latest versions. 2022-04-08 20:07:18 +00:00
wp-embed.js Embeds: Conditionally enqueue `wp-embed` only if needed and send `ready` message in case script loads after post embed windows. 2021-11-11 02:49:18 +00:00
wp-embed.min.js Build/Test Tools: Update some NPM dependencies to the latest versions. 2022-04-08 20:07:18 +00:00
wp-emoji-loader.js Emoji: Update the Twemoji to version 14.0.2. 2022-04-12 05:56:23 +00:00
wp-emoji-loader.min.js Build/Test Tools: Update NPM dependencies to their latest versions. 2022-09-23 19:55:30 +00:00
wp-emoji-release.min.js Emoji: Update the Twemoji to version 14.0.2. 2022-04-12 05:56:23 +00:00
wp-emoji.js
wp-emoji.min.js Build/Test Tools: Update UglifyJS to the latest version. 2021-01-06 15:29:24 +00:00
wp-list-revisions.js
wp-list-revisions.min.js Build/Test Tools: Update UglifyJS to the latest version. 2021-01-06 15:29:24 +00:00
wp-lists.js Docs: Various inline documentation corrections and improvements. 2021-12-07 12:20:02 +00:00
wp-lists.min.js Build/Test Tools: Update NPM dependencies to their latest versions. 2022-09-23 19:55:30 +00:00
wp-pointer.js External Libraries: Further fix jQuery deprecations in WordPress core. 2021-02-16 20:25:03 +00:00
wp-pointer.min.js Build/Test Tools: Update some NPM dependencies to the latest versions. 2022-04-08 20:07:18 +00:00
wp-sanitize.js
wp-sanitize.min.js Build/Test Tools: Update some NPM dependencies to the latest versions. 2022-04-08 20:07:18 +00:00
wp-util.js General: Throw a more descriptive error when templates are not found. 2022-09-20 03:52:10 +00:00
wp-util.min.js General: Throw a more descriptive error when templates are not found. 2022-09-20 03:52:10 +00:00
wpdialog.js Code Modernization: Fix a JS error in `wpdialog`. 2023-01-24 21:13:12 +00:00
wpdialog.min.js Code Modernization: Fix a JS error in `wpdialog`. 2023-01-24 21:13:12 +00:00
wplink.js External Libraries: Further fix jQuery deprecations in WordPress core. 2021-03-18 19:01:03 +00:00
wplink.min.js Build/Test Tools: Update NPM dependencies to their latest versions. 2022-09-23 19:55:30 +00:00
zxcvbn-async.js
zxcvbn-async.min.js Build/Test Tools: Update NPM dependencies. 2021-02-23 16:45:19 +00:00
zxcvbn.min.js