wordpress-develop/src/js
David Baumwald 7ff7553aa9 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.

git-svn-id: https://develop.svn.wordpress.org/trunk@54334 602fd350-edb4-49c9-b593-d223f7449a82
2022-09-27 17:04:39 +00:00
..
_enqueues Comments: Prevent AYS prompt when replying to a comment and nothing has been entered. 2022-09-27 17:04:39 +00:00
media Media: Set https as placeholder for embedding media from URL. 2022-09-19 23:32:10 +00:00