WordPress/wp-admin/js
davidbaumwald fe346c1464 Comments: Prevent AYS prompt when replying to a comment and nothing has been entered.
When replying to a comment and nothing has yet been entered for the reply content, clicking "Reply" or "Quick Edit" on another comment presents the "Are you sure..." prompt indicating there are unsaved changes in the reply content.  However, if nothing is entered, this prompt should not be displayed.

This change implements a new check to determine if any text has been entered by the user before deciding to show the "Are you sure..." prompt.

Props cu121, mkox, azouamauriac, hasanuzzamanshamim, pls78, faisal03, rafiahmedd.
Fixes #54990.
Built from https://develop.svn.wordpress.org/trunk@54334


git-svn-id: http://core.svn.wordpress.org/trunk@53893 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2022-09-27 17:06:09 +00:00
..
widgets Build/Test Tools: Update NPM dependencies to their latest versions. 2022-09-23 19:55:30 +00:00
accordion.js External Libraries: Further fix jQuery deprecations in WordPress core. 2021-03-18 19:01:03 +00:00
accordion.min.js Build/Test Tools: Update some NPM dependencies to the latest versions. 2022-04-08 20:07:18 +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 some NPM dependencies to the latest versions. 2022-04-08 20:07:18 +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 Build/Test Tools: Update some NPM dependencies to the latest versions. 2022-04-08 20:07:18 +00:00
code-editor.js
code-editor.min.js Build/Test Tools: Update some NPM dependencies to the latest versions. 2022-04-08 20:07:18 +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 Build/Test Tools: Update some NPM dependencies to the latest versions. 2022-04-08 20:07:18 +00:00
comment.js External Libraries: Further fix jQuery deprecations in WordPress core. 2021-03-18 19:01:03 +00:00
comment.min.js Build/Test Tools: Update some NPM dependencies to the latest versions. 2022-04-08 20:07:18 +00:00
common.js Help/About: Remove .hidden class when the Help Tab panel is displayed. 2022-09-15 12:29:12 +00:00
common.min.js Build/Test Tools: Update NPM dependencies to their latest versions. 2022-09-23 19:55:30 +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 Customizer: When a block theme is active, add an information about Site Editor in the Customizer. 2022-03-29 19:10:14 +00:00
customize-controls.min.js Build/Test Tools: Update NPM dependencies to their latest versions. 2022-09-23 19:55:30 +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 NPM dependencies to their latest versions. 2022-09-23 19:55:30 +00:00
customize-widgets.js Widgets: Fix Classic Widgets screen toggle response on small screens. 2022-04-26 06:54:09 +00:00
customize-widgets.min.js Build/Test Tools: Update NPM dependencies to their latest versions. 2022-09-23 19:55:30 +00:00
dashboard.js External Libraries: Further fix jQuery deprecations in WordPress core. 2021-03-18 19:01:03 +00:00
dashboard.min.js Build/Test Tools: Update some NPM dependencies to the latest versions. 2022-04-08 20:07:18 +00:00
edit-comments.js Comments: Prevent AYS prompt when replying to a comment and nothing has been entered. 2022-09-27 17:06:09 +00:00
edit-comments.min.js Comments: Prevent AYS prompt when replying to a comment and nothing has been entered. 2022-09-27 17:06:09 +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 Build/Test Tools: Update some NPM dependencies to the latest versions. 2022-04-08 20:07:18 +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 Build/Test Tools: Update NPM dependencies to their latest versions. 2022-09-23 19:55:30 +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 Build/Test Tools: Update NPM dependencies to their latest versions. 2022-09-23 19:55:30 +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 Build/Test Tools: Update NPM dependencies to their latest versions. 2022-09-23 19:55:30 +00:00
inline-edit-post.js Quick/Bulk Edit: Remove duplicate HTML IDs. 2022-05-05 03:26:16 +00:00
inline-edit-post.min.js Build/Test Tools: Update NPM dependencies to their latest versions. 2022-09-23 19:55:30 +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 Build/Test Tools: Update some NPM dependencies to the latest versions. 2022-04-08 20:07:18 +00:00
media-upload.js
media-upload.min.js
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 Build/Test Tools: Update some NPM dependencies to the latest versions. 2022-04-08 20:07:18 +00:00
nav-menu.js Menus: Remove bulk action checkboxes when menu is empty. 2022-09-26 21:44:09 +00:00
nav-menu.min.js Menus: Remove bulk action checkboxes when menu is empty. 2022-09-26 21:44:09 +00:00
password-strength-meter.js
password-strength-meter.min.js
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 Build/Test Tools: Update NPM dependencies to their latest versions. 2022-09-23 19:55:30 +00:00
postbox.js External Libraries: Further fix jQuery deprecations in WordPress core. 2021-02-23 19:45:04 +00:00
postbox.min.js Build/Test Tools: Update NPM dependencies to their latest versions. 2022-09-23 19:55:30 +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
revisions.min.js Build/Test Tools: Update some NPM dependencies to the latest versions. 2022-04-08 20:07:18 +00:00
set-post-thumbnail.js
set-post-thumbnail.min.js
site-health.js Site health: Add a menu bubble with the critical issues count to the Tools -> Site Health submenu. 2022-09-14 21:14:14 +00:00
site-health.min.js Site health: Add a menu bubble with the critical issues count to the Tools -> Site Health submenu. 2022-09-14 21:14:14 +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 NPM dependencies to the latest versions. 2022-04-08 20:07:18 +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 Build/Test Tools: Update NPM dependencies to their latest versions. 2022-09-23 19:55:30 +00:00
tags-suggest.js Editor: Limit display of tags on classic editor. 2022-04-07 04:06:05 +00:00
tags-suggest.min.js Build/Test Tools: Update NPM dependencies to their latest versions. 2022-09-23 19:55:30 +00:00
tags.js Taxonomy: Only reset non-button form field values after adding a tag. 2022-04-12 19:37:14 +00:00
tags.min.js Taxonomy: Only reset non-button form field values after adding a tag. 2022-04-12 19:37:14 +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 Build/Test Tools: Update NPM dependencies to their latest versions. 2022-09-23 19:55:30 +00:00
theme.js Themes: Include a hyphen in the Block Themes tab key on Add Themes screen. 2022-08-19 13:11:14 +00:00
theme.min.js Themes: Include a hyphen in the Block Themes tab key on Add Themes screen. 2022-08-19 13:11:14 +00:00
updates.js Plugins: Properly encode query string s parameter in plugin search. 2022-08-05 14:12:11 +00:00
updates.min.js Build/Test Tools: Update NPM dependencies to their latest versions. 2022-09-23 19:55:30 +00:00
user-profile.js Upgrade/Install/Users: Prevent JS bug filling new passwords. 2022-04-11 04:29:04 +00:00
user-profile.min.js Upgrade/Install/Users: Prevent JS bug filling new passwords. 2022-04-11 04:29:04 +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 Build/Test Tools: Update NPM dependencies to their latest versions. 2022-09-23 19:55:30 +00:00
word-count.js
word-count.min.js
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