WordPress.org

Make WordPress Core

Opened 3 weeks ago

Closed 3 weeks ago

#51713 closed defect (bug) (fixed)

Fix a typo in Walker::display_element inline comment

Reported by: david.binda Owned by: SergeyBiryukov
Milestone: 5.6 Priority: normal
Severity: trivial Version:
Component: General Keywords: commit has-patch
Focuses: docs Cc:

Description

This is a very minor issue, but since I came across it while looking into some unrelated stuff, I thought it might be worth logging.

There should be no "s" at the end of children, since it's already the plural form of child (one of the irregular plurals).

Inline comment in question: https://core.trac.wordpress.org/browser/trunk/src/wp-includes/class-wp-walker.php?rev=48590#L146

Attachments (1)

51713.diff (644 bytes) - added by david.binda 3 weeks ago.

Download all attachments as: .zip

Change History (3)

@david.binda
3 weeks ago

#1 @sabernhardt
3 weeks ago

  • Focuses docs added
  • Keywords commit has-patch added
  • Milestone changed from Awaiting Review to 5.6

Patch applies, and I didn't find any other instances of "childrens" (in src).

#2 @SergeyBiryukov
3 weeks ago

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

In 49509:

Docs: Fix typo in a comment in Walker::display_element().

Props david.binda, sabernhardt.
Fixes #51713.

Note: See TracTickets for help on using tickets.