Make WordPress Core

Opened 3 months ago

Closed 3 months ago

#60285 closed defect (bug) (fixed)

Several typo corrections in core files inline documents

Reported by: shailu25's profile shailu25 Owned by: sergeybiryukov's profile SergeyBiryukov
Milestone: 6.5 Priority: normal
Severity: trivial Version:
Component: General Keywords:
Focuses: docs Cc:


Several typo corrections in core files inline documents

1. In wp-includes/Text/Diff.php Line 299


It should be


2. In wp-includes/class-wp-customize-widgets.php Line 826 & 1311


It should be


3. In wp-includes/global-styles-and-settings.php Line 57


It should be


Attachments (2)

60285.patch (2.4 KB) - added by shailu25 3 months ago.
Patch Added
60285.2.patch (1.5 KB) - added by shailu25 3 months ago.
Updated Patch

Download all attachments as: .zip

Change History (5)

3 months ago

Patch Added

3 months ago

Updated Patch

#1 @shailu25
3 months ago

I have added behavior by mistake, but not able to remove/edit in ticket description

Updated patch accordingly

#2 @sabernhardt
3 months ago

  • Milestone changed from Awaiting Review to 6.5

The handbook says to use American spelling, so "behavior" is correct in the first patch, 60285.patch.

Also, Text_Diff is an external dependency, but it's no longer maintained (#59580). Correcting the typo is probably fine in this ticket.

Commits that introduced typos to Core:

  • [7747] added Text_Diff
  • [27419] added the Widget Customizer
  • [55155] added "behaviour" in wp_get_global_settings()

#3 @SergeyBiryukov
3 months ago

  • Owner set to SergeyBiryukov
  • Resolution set to fixed
  • Status changed from new to closed

In 57309:

Docs: Fix several typos in inline comments.

Follow-up to [7747], [27419], [55155].

Props shailu25, sabernhardt.
Fixes #60285.

Note: See TracTickets for help on using tickets.