Make WordPress Core

Opened 8 years ago

Closed 8 years ago

Last modified 8 years ago

#38167 closed defect (bug) (fixed)

Documentation for the first parameter of wp_parse_args() doesn't list object as possible value

Reported by: dimadin's profile dimadin Owned by: swissspidy's profile swissspidy
Milestone: 4.7 Priority: normal
Severity: normal Version:
Component: General Keywords: has-patch
Focuses: docs Cc:

Description

First parameter of wp_parse_args() can be object as well.

Attachments (1)

38167.1.diff (691 bytes) - added by dimadin 8 years ago.

Download all attachments as: .zip

Change History (5)

@dimadin
8 years ago

#1 @swissspidy
8 years ago

  • Keywords has-patch added
  • Milestone changed from Awaiting Review to 4.7

#2 @dimadin
8 years ago

On second thought, maybe we should also add changelog here that object is accepted since version 2.3 after [5796].

#3 @swissspidy
8 years ago

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

In 38670:

Docs: Improve parameter description for wp_parse_args().

Props dimadin for initial patch.
Fixes #38167.

#4 @johnbillion
8 years ago

@swissspidy FWIW, I don't think there's any value in adding @since parameters for versions so far back. Fine to leave it in though.

Note: See TracTickets for help on using tickets.