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

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


git-svn-id: https://develop.svn.wordpress.org/trunk@53811 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Jb Audras 2022-08-02 14:48:51 +00:00
parent d91b7744f1
commit fd1e1f17eb

View File

@ -5190,7 +5190,7 @@ function wp_list_pluck( $list, $field, $index_key = null ) {
*
* @since 4.7.0
*
* @param array $list An array of objects to sort.
* @param array $list An array of objects or arrays to sort.
* @param string|array $orderby Optional. Either the field name to order by or an array
* of multiple orderby fields as $orderby => $order.
* @param string $order Optional. Either 'ASC' or 'DESC'. Only used if $orderby