Make WordPress Core

Opened 11 years ago

Closed 11 years ago

Last modified 11 years ago

#23313 closed enhancement (fixed)

inline doc additions in wp-includes/formatting.php

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


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 11 years ago.
23313.2.diff (3.6 KB) - added by DrewAPicture 11 years ago.

Download all attachments as: .zip

Change History (6)

#1 @DrewAPicture
11 years 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()

#2 @SergeyBiryukov
11 years ago

  • Milestone changed from Awaiting Review to 3.6

#3 @SergeyBiryukov
11 years 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.

#4 @DrewAPicture
11 years 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.