Make WordPress Core


Ignore:
Timestamp:
09/28/2016 08:40:24 AM (8 years ago)
Author:
swissspidy
Message:

Docs: Improve parameter description for wp_parse_args().

Props dimadin for initial patch.
Fixes #38167.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/functions.php

    r38636 r38670  
    34043404 *
    34053405 * @since 2.2.0
    3406  *
    3407  * @param string|array $args     Value to merge with $defaults
    3408  * @param array        $defaults Optional. Array that serves as the defaults. Default empty.
     3406 * @since 2.3.0 `$args` can now also be an object.
     3407 *
     3408 * @param string|array|object $args     Value to merge with $defaults.
     3409 * @param array               $defaults Optional. Array that serves as the defaults. Default empty.
    34093410 * @return array Merged user defined values with defaults.
    34103411 */
Note: See TracChangeset for help on using the changeset viewer.