Make WordPress Core

Opened 5 years ago

Closed 5 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 5 years ago.
typo fixes
18560.diff (26.3 KB) - added by duck_ 5 years ago.
18560.wp-includes.diff (35.7 KB) - added by duck_ 5 years ago.
18560.wp-includes-2.diff (38.3 KB) - added by SergeyBiryukov 5 years ago.

Download all attachments as: .zip

Change History (13)

5 years ago

typo fixes

5 years ago

#1 @duck_
5 years ago

  • Milestone changed from Awaiting Review to 3.3

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

#2 @duck_
5 years ago

In [18632]:

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

#3 @duck_
5 years ago

In [18633]:

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

#4 @SergeyBiryukov
5 years ago

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

#5 @duck_
5 years ago

In [18639]:

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

#6 @duck_
5 years ago

In [18641]:

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

#7 @duck_
5 years ago

In [18753]:

Documentation fixes. See #18560.

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

#8 @SergeyBiryukov
5 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.

#9 @ryan
5 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.