Make WordPress Core

Opened 3 weeks ago

Closed 12 days ago

#58316 closed defect (bug) (fixed)

PHPDoc Fixes formatting.php

Reported by: apermo's profile apermo Owned by: sergeybiryukov's profile SergeyBiryukov
Milestone: 6.3 Priority: normal
Severity: minor Version: 6.2
Component: Formatting Keywords: has-patch commit
Focuses: docs Cc:

Description

I've checked the wp-includes/formatting.php with a syntax tool and fixed several minor errors in the PHPdoc of that file.

Including missing hyphens, typos and unnecessarily complex language.

Details see in the attached patch.

Attachments (1)

phpdoc.patch (3.3 KB) - added by apermo 3 weeks ago.
Patch of the PHPdoc.

Download all attachments as: .zip

Change History (4)

@apermo
3 weeks ago

Patch of the PHPdoc.

#1 @SergeyBiryukov
3 weeks ago

  • Milestone changed from Awaiting Review to 6.3

#2 @SergeyBiryukov
3 weeks ago

  • Focuses docs added
  • Keywords commit added

Thanks for the patch! These edits look good to me.

#3 @SergeyBiryukov
12 days ago

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

In 55844:

Docs: Improve a few DocBlocks in wp-includes/formatting.php.

This addresses missing hyphens, typos and unnecessarily complex language.

Follow-up to [8540], [8743], [11615], [11907], [28670], [42056].

Props apermo.
Fixes #58316.

Note: See TracTickets for help on using tickets.