Make WordPress Core

Opened 14 years ago

Closed 14 years ago

Last modified 13 years ago

#23313 closed enhancement (fixed)

inline doc additions in wp-includes/formatting.php

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

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

Download all attachments as: .zip

Change History (6)

#1 @DrewAPicture
14 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
14 years ago

  • Milestone Awaiting Review → 3.6

#3 @SergeyBiryukov
14 years ago

  • Owner set to SergeyBiryukov
  • Resolution → fixed
  • Status new → closed

In 23365:

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

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