Make WordPress Core

Opened 10 years ago

Closed 10 years ago

Last modified 10 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 Owned by: swissspidy
Priority: normal Milestone: 4.7
Component: General Version:
Severity: normal Keywords: has-patch
Cc: Focuses: docs

Description

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

Attachments (1)

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

Download all attachments as: .zip

Change History (5)

@dimadin
10 years ago

#1 @swissspidy
10 years ago

  • Keywords has-patch added
  • Milestone Awaiting Review → 4.7

#2 @dimadin
10 years ago

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

#3 @swissspidy
10 years ago

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

In 38670:

Docs: Improve parameter description for wp_parse_args().

Props dimadin for initial patch.
Fixes #38167.

#4 @johnbillion
10 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.