Skip to content

Commit

Permalink
Administration: Fix typo in code documentation in wp/sanitize.js.
Browse files Browse the repository at this point in the history
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
  • Loading branch information
joedolson committed Jan 27, 2025
1 parent 557fe1d commit ed8cb2a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/js/_enqueues/wp/sanitize.js
Original file line number Diff line number Diff line change
Expand Up @@ -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.
*/
Expand Down

0 comments on commit ed8cb2a

Please sign in to comment.