Make WordPress Core

Changeset 53811


Ignore:
Timestamp:
08/02/2022 02:48:51 PM (21 months ago)
Author:
audrasjb
Message:

Docs: Improve the description of param $list in wp_list_sort() docblock.

Props audrasjb, rherault.
Fixes #56324.
See #55646.

File:
1 edited

Legend:

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

    r53700 r53811  
    51915191 * @since 4.7.0
    51925192 *
    5193  * @param array        $list          An array of objects to sort.
     5193 * @param array        $list          An array of objects or arrays to sort.
    51945194 * @param string|array $orderby       Optional. Either the field name to order by or an array
    51955195 *                                    of multiple orderby fields as $orderby => $order.
Note: See TracChangeset for help on using the changeset viewer.