Make WordPress Core

Opened 4 years ago

Closed 3 years ago

#18560 closed defect (bug) (fixed)

PHPDoc Typo Fixes

Reported by: trepmal Owned by: ryan
Milestone: 3.3 Priority: normal
Severity: trivial Version:
Component: Inline Docs Keywords: has-patch
Focuses: Cc:


Came across a couple doc typos while looking through wp-admin/includes/plugin-install.php, figured I'd fix 'em

Attachments (4)

plugin-install.diff (1.9 KB) - added by trepmal 4 years ago.
typo fixes
18560.diff (26.3 KB) - added by duck_ 4 years ago.
18560.wp-includes.diff (35.7 KB) - added by duck_ 3 years ago.
18560.wp-includes-2.diff (38.3 KB) - added by SergeyBiryukov 3 years ago.

Download all attachments as: .zip

Change History (13)

@trepmal4 years ago

typo fixes

@duck_4 years ago

comment:1 @duck_4 years ago

  • Milestone changed from Awaiting Review to 3.3

Attached what I've fixed so far (i.e. more to come).

comment:2 @duck_3 years ago

In [18632]:

Fix typos in documentation (wp-admin/). See #18560.

@duck_3 years ago

comment:3 @duck_3 years ago

In [18633]:

Fix typos in documentation (wp-includes/[a-h]). See #18560.

comment:4 @SergeyBiryukov3 years ago

More fixes and refinements for wp-includes (not covered by 18560.wp-includes.diff).

comment:5 @duck_3 years ago

In [18639]:

Fix typos in documentation (wp-includes/[i-z]). See #18560.

comment:6 @duck_3 years ago

In [18641]:

s/overridding/overriding/. Props trepmal, see #18560.

comment:7 @duck_3 years ago

In [18753]:

Documentation fixes. See #18560.

  • Add missing parameters
  • Add missing @param data types
  • s/format_where/where_format/

comment:8 @SergeyBiryukov3 years ago

Would like some feedback on 18560.wp-includes-2.diff.

If it helps, I'll make a patch with actual PHPDoc fixes and refinements only, leaving out whitespace, case and punctuation changes. It'll probably be a bit smaller and easier to review, but most of these changes are for consistency and/or better readability.

comment:9 @ryan3 years ago

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

In [18827]:

phpdoc typo and readability fixes. Props SergeyBiryukov. fixes #18560

Note: See TracTickets for help on using tickets.