WordPress/wp-admin/js
davidbaumwald ee85a17cf2 Taxonomy: Consider HTML5 input types when resetting form values after adding a new tag.
When adding a new tag, the form is reset by clearing values for `input[type=text]` and `textarea`s.  However, the reset doesn't account for any HTML5 input types, like `number` or `url`, that may be added by plugins or themes.

This change updates the form resetting jQuery to clear any values from `input` types that are not hidden and neither a `checkbox` nor `radio` type.

Props stevegrunwell.
Fixes #48030.
Built from https://develop.svn.wordpress.org/trunk@52953


git-svn-id: http://core.svn.wordpress.org/trunk@52542 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2022-03-18 20:12:06 +00:00
..
widgets Widgets: Show title and media select fields in Accessibility Mode. 2021-08-31 13:51:00 +00:00
accordion.js External Libraries: Further fix jQuery deprecations in WordPress core. 2021-03-18 19:01:03 +00:00
accordion.min.js External Libraries: Further fix jQuery deprecations in WordPress core. 2021-03-18 19:01:03 +00:00
application-passwords.js Application Passwords: Allow enter key to submit profile form. 2021-06-07 23:49:58 +00:00
application-passwords.min.js Build/Test Tools: Update several `devDependencies`. 2021-06-08 17:15:15 +00:00
auth-app.js External Libraries: Further fix jQuery deprecations in WordPress core. 2021-02-23 19:45:04 +00:00
auth-app.min.js External Libraries: Further fix jQuery deprecations in WordPress core. 2021-02-23 19:45:04 +00:00
code-editor.js Build/Test Tools: Enable JSDocs to be linted with ESLint. 2020-07-27 23:35:02 +00:00
code-editor.min.js Build/Test Tools: Update UglifyJS to the latest version. 2021-01-06 15:29:24 +00:00
color-picker.js External Libraries: Further fix jQuery deprecations in WordPress core. 2021-03-18 19:01:03 +00:00
color-picker.min.js External Libraries: Further fix jQuery deprecations in WordPress core. 2021-03-18 19:01:03 +00:00
comment.js External Libraries: Further fix jQuery deprecations in WordPress core. 2021-03-18 19:01:03 +00:00
comment.min.js External Libraries: Further fix jQuery deprecations in WordPress core. 2021-03-18 19:01:03 +00:00
common.js Administration: Revert [51946]. 2022-01-17 19:55:04 +00:00
common.min.js Administration: Revert [51946]. 2022-01-17 19:55:04 +00:00
custom-background.js External Libraries: Further fix jQuery deprecations in WordPress core. 2021-03-18 19:01:03 +00:00
custom-background.min.js External Libraries: Further fix jQuery deprecations in WordPress core. 2021-03-18 19:01:03 +00:00
custom-header.js External Libraries: Further fix jQuery deprecations in WordPress core. 2021-02-23 19:45:04 +00:00
customize-controls.js Customize: Fix `focus()` to collapse child panels and show parent panel. 2021-11-03 15:05:58 +00:00
customize-controls.min.js Customize: Fix `focus()` to collapse child panels and show parent panel. 2021-11-03 15:05:58 +00:00
customize-nav-menus.js External Libraries: Further fix jQuery deprecations in WordPress core. 2021-03-18 19:01:03 +00:00
customize-nav-menus.min.js Build/Test Tools: Update several `devDependencies`. 2021-06-08 17:15:15 +00:00
customize-widgets.js External Libraries: Further fix jQuery deprecations in WordPress core. 2021-03-18 19:01:03 +00:00
customize-widgets.min.js General: Remove role="navigation" from nav elements. 2021-11-01 21:47:13 +00:00
dashboard.js External Libraries: Further fix jQuery deprecations in WordPress core. 2021-03-18 19:01:03 +00:00
dashboard.min.js External Libraries: Further fix jQuery deprecations in WordPress core. 2021-03-18 19:01:03 +00:00
edit-comments.js Comments: Disable "close on escape" for inline replies when using an IME. 2022-03-18 18:14:02 +00:00
edit-comments.min.js Comments: Disable "close on escape" for inline replies when using an IME. 2022-03-18 18:14:02 +00:00
editor-expand.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
editor-expand.min.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
editor.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
editor.min.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
farbtastic.js
gallery.js External Libraries: Further fix jQuery deprecations in WordPress core. 2021-03-18 19:01:03 +00:00
gallery.min.js External Libraries: Further fix jQuery deprecations in WordPress core. 2021-03-18 19:01:03 +00:00
image-edit.js Media: Display the unsaved changes dialog in image edit form using jQuery `.text()` function. 2021-10-15 00:18:56 +00:00
image-edit.min.js Media: Display the unsaved changes dialog in image edit form using jQuery `.text()` function. 2021-10-15 00:18:56 +00:00
inline-edit-post.js External Libraries: Further fix jQuery deprecations in WordPress core. 2021-03-18 19:01:03 +00:00
inline-edit-post.min.js External Libraries: Further fix jQuery deprecations in WordPress core. 2021-03-18 19:01:03 +00:00
inline-edit-tax.js External Libraries: Further fix jQuery deprecations in WordPress core. 2021-03-18 19:01:03 +00:00
inline-edit-tax.min.js External Libraries: Further fix jQuery deprecations in WordPress core. 2021-03-18 19:01:03 +00:00
iris.min.js External Libraries: Update the Iris color picker to version 1.1.1. 2021-11-03 19:40:00 +00:00
language-chooser.js External Libraries: Further fix jQuery deprecations in WordPress core. 2021-02-23 19:45:04 +00:00
language-chooser.min.js External Libraries: Further fix jQuery deprecations in WordPress core. 2021-02-23 19:45:04 +00:00
link.js External Libraries: Further fix jQuery deprecations in WordPress core. 2021-03-18 19:01:03 +00:00
link.min.js External Libraries: Further fix jQuery deprecations in WordPress core. 2021-03-18 19:01:03 +00:00
media-gallery.js External Libraries: Further fix jQuery deprecations in WordPress core. 2021-02-23 19:45:04 +00:00
media-gallery.min.js External Libraries: Further fix jQuery deprecations in WordPress core. 2021-02-23 19:45:04 +00:00
media-upload.js External Libraries: First pass at fixing jQuery deprecations in WordPress core and bundled themes. 2021-01-22 12:32:03 +00:00
media-upload.min.js External Libraries: First pass at fixing jQuery deprecations in WordPress core and bundled themes. 2021-01-22 12:32:03 +00:00
media.js Media: Note `ClipboardJS` as a global in /js/_enqueues/admin/media.js. 2022-03-10 18:43:02 +00:00
media.min.js Media: Add a "Copy URL to clipboard" function to the list table view. 2022-03-10 18:24:03 +00:00
nav-menu.js Menus: Add audible notice on menu item add or remove. 2021-11-15 20:00:59 +00:00
nav-menu.min.js Menus: Add audible notice on menu item add or remove. 2021-11-15 20:00:59 +00:00
password-strength-meter.js External Libraries: First pass at fixing jQuery deprecations in WordPress core and bundled themes. 2021-01-22 12:32:03 +00:00
password-strength-meter.min.js External Libraries: First pass at fixing jQuery deprecations in WordPress core and bundled themes. 2021-01-22 12:32:03 +00:00
plugin-install.js External Libraries: Further fix jQuery deprecations in WordPress core. 2021-03-18 19:01:03 +00:00
plugin-install.min.js External Libraries: Further fix jQuery deprecations in WordPress core. 2021-03-18 19:01:03 +00:00
post.js Coding Standards: Wrap some long lines in `js/_enqueues/admin/post.js` per the JS coding standards for better readability. 2021-11-20 02:49:58 +00:00
post.min.js Editor: Add missing label to `new-post-slug` input on Classic Editor. 2021-11-19 22:55:59 +00:00
postbox.js External Libraries: Further fix jQuery deprecations in WordPress core. 2021-02-23 19:45:04 +00:00
postbox.min.js External Libraries: Further fix jQuery deprecations in WordPress core. 2021-02-23 19:45:04 +00:00
privacy-tools.js External Libraries: Further fix jQuery deprecations in WordPress core. 2021-03-18 19:01:03 +00:00
privacy-tools.min.js External Libraries: Further fix jQuery deprecations in WordPress core. 2021-03-18 19:01:03 +00:00
revisions.js Docs: Improve comments in `js/_enqueues/wp/revisions.js` per the documentation standards. 2020-01-29 00:37:04 +00:00
revisions.min.js General: Remove role="navigation" from nav elements. 2021-11-01 21:47:13 +00:00
set-post-thumbnail.js I18N: Use `wp.i18n` for translatable strings in `wp-admin/js/set-post-thumbnail.js`. 2020-07-07 18:55:04 +00:00
set-post-thumbnail.min.js I18N: Use `wp.i18n` for translatable strings in `wp-admin/js/set-post-thumbnail.js`. 2020-07-07 18:55:04 +00:00
site-health.js Site Health: Remove Ajax requests from dashboard widget. 2021-04-17 11:29:02 +00:00
site-health.min.js Site Health: Remove Ajax requests from dashboard widget. 2021-04-17 11:29:02 +00:00
svg-painter.js External Libraries: Further fix jQuery deprecations in WordPress core. 2021-03-18 19:01:03 +00:00
svg-painter.min.js Build/Test Tools: Update some dependencies. 2021-04-06 14:31:21 +00:00
tags-box.js External Libraries: Further fix jQuery deprecations in WordPress core. 2021-03-18 19:01:03 +00:00
tags-box.min.js External Libraries: Further fix jQuery deprecations in WordPress core. 2021-03-18 19:01:03 +00:00
tags-suggest.js Quick/Bulk Edit: Follow up to [49703]. Improve the logic a bit and always return `this` (the jQuery object) in `wpTagsSuggest`. 2020-11-30 14:31:04 +00:00
tags-suggest.min.js Build/Test Tools: Update UglifyJS to the latest version. 2021-01-06 15:29:24 +00:00
tags.js Taxonomy: Consider HTML5 input types when resetting form values after adding a new tag. 2022-03-18 20:12:06 +00:00
tags.min.js Taxonomy: Consider HTML5 input types when resetting form values after adding a new tag. 2022-03-18 20:12:06 +00:00
theme-plugin-editor.js External Libraries: Further fix jQuery deprecations in WordPress core. 2021-03-18 19:01:03 +00:00
theme-plugin-editor.min.js External Libraries: Further fix jQuery deprecations in WordPress core. 2021-03-18 19:01:03 +00:00
theme.js Themes: Hide block themes' live preview link following installation. 2022-03-04 02:39:03 +00:00
theme.min.js Themes: Hide block themes' live preview link following installation. 2022-03-04 02:39:03 +00:00
updates.js Upgrade/Install: Update screen reader text counts in adminbar. 2021-11-11 17:20:58 +00:00
updates.min.js Upgrade/Install: Update screen reader text counts in adminbar. 2021-11-11 17:20:58 +00:00
user-profile.js Login and Registration: Remove `aria-expanded` from "Generate Password" button. 2022-01-05 17:37:03 +00:00
user-profile.min.js Login and Registration: Remove `aria-expanded` from "Generate Password" button. 2022-01-05 17:37:03 +00:00
user-suggest.js External Libraries: Further fix jQuery deprecations in WordPress core. 2021-03-18 19:01:03 +00:00
user-suggest.min.js External Libraries: Further fix jQuery deprecations in WordPress core. 2021-03-18 19:01:03 +00:00
widgets.js External Libraries: Further fix jQuery deprecations in WordPress core. 2021-03-18 19:01:03 +00:00
widgets.min.js External Libraries: Further fix jQuery deprecations in WordPress core. 2021-03-18 19:01:03 +00:00
word-count.js Build/Test Tools: Enable JSDocs to be linted with ESLint. 2020-07-27 23:35:02 +00:00
word-count.min.js Build/Test Tools: Update the `uglify-js` package. 2021-01-20 13:35:18 +00:00
xfn.js External Libraries: Further fix jQuery deprecations in WordPress core. 2021-03-18 19:01:03 +00:00
xfn.min.js External Libraries: Further fix jQuery deprecations in WordPress core. 2021-03-18 19:01:03 +00:00