Make WordPress Core

Opened 2 weeks ago

Closed 12 days ago

#62851 closed defect (bug) (fixed)

Typo in code comment for wp.sanitize.stripTags

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

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 2 weeks ago.

Download all attachments as: .zip

Change History (8)

@joedolson
2 weeks ago

#1 @joedolson
2 weeks ago

  • Owner set to joedolson
  • Status changed from assigned to accepted

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


2 weeks ago
#2

  • Keywords has-patch added

@mukesh27 commented on PR #8186:


12 days ago
#3

Closing in favour of 62851.diff

#4 @mukesh27
12 days ago

  • Keywords commit added

Ready for commit.

#5 @SergeyBiryukov
12 days ago

Thanks for the ticket!

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

Last edited 12 days ago by SergeyBiryukov (previous) (diff)

#6 @joedolson
12 days ago

@SergeyBiryukov Yeah, I should have thought of that.

#7 @joedolson
12 days ago

  • Resolution set to fixed
  • Status changed from accepted to closed

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.