WordPress.org

Make WordPress Core

Opened 15 months ago

Closed 15 months ago

Last modified 11 months ago

#23313 closed enhancement (fixed)

inline doc additions in wp-includes/formatting.php

Reported by: bananastalktome Owned by: SergeyBiryukov
Milestone: 3.6 Priority: normal
Severity: trivial Version: 2.7
Component: Inline Docs Keywords: has-patch needs-codex
Focuses: Cc:

Description

Added inline documentation for two functions in wp-includes/formatting.php (sanitize_title_for_query and normalize_whitespace) that lacked them.

Very minor, but it brings wp-includes/formatting.php to 100% inline doc coverage :)

Attachments (2)

23313.diff (1.4 KB) - added by bananastalktome 15 months ago.
23313.2.diff (3.6 KB) - added by DrewAPicture 15 months ago.

Download all attachments as: .zip

Change History (6)

bananastalktome15 months ago

DrewAPicture15 months ago

comment:1 DrewAPicture15 months ago

23313.2 adds a few more fixes, namely adding the trailing zero on several @since references, and more descriptive @param and @return on normalize_whitespace()

comment:2 SergeyBiryukov15 months ago

  • Milestone changed from Awaiting Review to 3.6

comment:3 SergeyBiryukov15 months ago

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

In 23365:

PHPDoc fixes and additions. props bananastalktome, DrewAPicture. fixes #23313.

comment:4 DrewAPicture11 months ago

  • Keywords needs-codex added

See [23365] for phpdocs improvements for:

  • sanitize_title_for_query()
  • normalize_whitespace()
Note: See TracTickets for help on using tickets.