Make WordPress Core

Ticket #31316: 31316.3.diff

File 31316.3.diff, 873 bytes (added by adamsilverstein, 10 years ago)

docblock update, 1st pass

  • src/wp-includes/functions.php

     
    31723172 * @param int|string $field     Field from the object to place instead of the entire object
    31733173 * @param int|string $index_key Optional. Field from the object to use as keys for the new array.
    31743174 *                              Default null.
    3175  * @return array Array of found values. If $index_key is set, an array of found values with keys
     3175 * @return array Array of found values. If $list is an indexed array, a corrospondingly indexed
     3176 *               array of found values. If $index_key is set, an array of found values with keys
    31763177 *               corresponding to $index_key.
    31773178 */
    31783179function wp_list_pluck( $list, $field, $index_key = null ) {