WordPress.org

Make WordPress Core

Ticket #45766: 45766.diff

File 45766.diff, 686 bytes (added by manikmist09, 13 months ago)
  • wp-includes/functions.php

    diff --git a/wp-includes/functions.php b/wp-includes/functions.php
    index fdaa2e1..baf77e7 100644
    a b function wp_list_pluck( $list, $field, $index_key = null ) { 
    39403940 *
    39413941 * @since 4.7.0
    39423942 *
    3943  * @param array        $list          An array of objects to filter.
     3943 * @param array        $list          An array of objects to sort.
    39443944 * @param string|array $orderby       Optional. Either the field name to order by or an array
    39453945 *                                    of multiple orderby fields as $orderby => $order.
    39463946 * @param string       $order         Optional. Either 'ASC' or 'DESC'. Only used if $orderby