Make WordPress Core

#62851 closed defect (bug) (fixed)

Typo in code comment for wp.sanitize.stripTags

Reported by: joedolson Owned by: joedolson
Priority: normal Milestone: 6.8
Component: Administration Version: 2.6
Severity: minor Keywords: has-patch commit
Cc: Focuses: javascript, docs

Description

Update spelling in "Text to have the HTML tags striped out of."

For better clarity, I suggest "Text to strip the HTML tags from."

Attachments (1)

62851.diff (452 bytes ) - added by joedolson 20 months ago.

Download all attachments as: .zip

Change History (8)

@joedolson
20 months ago

#1 @joedolson
20 months ago

  • Owner set to joedolson
  • Status assignedaccepted

This ticket was mentioned in PR #8186 on WordPress/wordpress-develop by @dhruvang21.


20 months ago
#2

  • Keywords has-patch added

@mukesh27 commented on PR #8186:


20 months ago
#3

Closing in favour of 62851.diff

#4 @mukesh27
20 months ago

  • Keywords commit added

Ready for commit.

#5 @SergeyBiryukov
20 months ago

Thanks for the ticket!

Just noting that this ideally could have been marked as good-first-bug and needs-patch initially.

Last edited 20 months ago by SergeyBiryukov (previous) (diff)

#6 @joedolson
20 months ago

@SergeyBiryukov Yeah, I should have thought of that.

#7 @joedolson
20 months ago

  • Resolutionfixed
  • Status acceptedclosed

In 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.

Note: See TracTickets for help on using tickets.