[wp-trac] [WordPress Trac] #62851: Typo in code comment for wp.sanitize.stripTags

WordPress Trac noreply at wordpress.org
Mon Jan 27 19:24:06 UTC 2025


#62851: Typo in code comment for wp.sanitize.stripTags
------------------------------+-------------------------------
 Reporter:  joedolson         |       Owner:  joedolson
     Type:  defect (bug)      |      Status:  closed
 Priority:  normal            |   Milestone:  6.8
Component:  Administration    |     Version:  2.6
 Severity:  minor             |  Resolution:  fixed
 Keywords:  has-patch commit  |     Focuses:  javascript, docs
------------------------------+-------------------------------
Changes (by joedolson):

 * status:  accepted => closed
 * resolution:   => fixed


Comment:

 In [changeset:"59714" 59714]:
 {{{
 #!CommitTicketReference repository="" revision="59714"
 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.
 }}}

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/62851#comment:7>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list