WordPress.org

Make WordPress Core

Opened 4 years ago

Closed 4 years ago

#17819 closed enhancement (fixed)

Docblock for get_option missing second parameter description

Reported by: amereservant Owned by: nacin
Milestone: 3.3 Priority: normal
Severity: trivial Version: 3.2
Component: General Keywords: has-patch commit
Focuses: Cc:

Description

This is a minor flaw, but the Docblock for the get_option() function in functions.php is missing the description for the $default parameter.

Attachments (1)

17819.diff (533 bytes) - added by solarissmoke 4 years ago.

Download all attachments as: .zip

Change History (4)

@solarissmoke4 years ago

comment:1 @solarissmoke4 years ago

  • Keywords has-patch added

Easily fixed :)

comment:2 @SergeyBiryukov4 years ago

  • Keywords commit added
  • Milestone changed from Awaiting Review to 3.3

comment:3 @nacin4 years ago

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

In [18658]:

Add phpdoc for default arg for get_option(). props amereservant, solarissmoke, fixes #17819.

Note: See TracTickets for help on using tickets.