diff options
author | Joe Dolson <joedolson@git.wordpress.org> | 2025-01-27 19:23:45 +0000 |
---|---|---|
committer | Joe Dolson <joedolson@git.wordpress.org> | 2025-01-27 19:23:45 +0000 |
commit | ed8cb2a5bfde3f9eae8a07a651c47e462f47946c (patch) | |
tree | 7fd787f249283641ed19b0a2806d8137ad4011f8 /src/js | |
parent | 557fe1da6916981d16d89129beeafa7f4c7d0925 (diff) | |
download | wordpress-ed8cb2a5bfde3f9eae8a07a651c47e462f47946c.tar.gz wordpress-ed8cb2a5bfde3f9eae8a07a651c47e462f47946c.zip |
Administration: Fix typo in code documentation in `wp/sanitize.js`.
Change "Text to have the HTML tags striped out of." to "Text to strip the HTML tags from."
Replaces an unclear statement with a typo with a more clear statement.
Props joedolson, mukesh27, dhruvang21.
Fixes #62851.
git-svn-id: https://develop.svn.wordpress.org/trunk@59714 602fd350-edb4-49c9-b593-d223f7449a82
Diffstat (limited to 'src/js')
-rw-r--r-- | src/js/_enqueues/wp/sanitize.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/js/_enqueues/wp/sanitize.js b/src/js/_enqueues/wp/sanitize.js index 6082b1912d..13f9045024 100644 --- a/src/js/_enqueues/wp/sanitize.js +++ b/src/js/_enqueues/wp/sanitize.js @@ -16,7 +16,7 @@ /** * Strip HTML tags. * - * @param {string} text Text to have the HTML tags striped out of. + * @param {string} text Text to strip the HTML tags from. * * @return Stripped text. */ |