Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Comments: Prevent AYS prompt when replying to a comment and nothing h…
…as 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
- Loading branch information