Ticket #16895: 16895.2.patch
| File 16895.2.patch, 483 bytes (added by hakre, 2 years ago) |
|---|
-
wp-includes/functions.php
### Eclipse Workspace Patch 1.0 #P wordpress-trunk
3094 3094 function wp_list_pluck( $list, $field ) { 3095 3095 foreach ( $list as $key => $value ) { 3096 3096 $value = (array) $value; 3097 unset( $list[ $key ] ); # remove possible references 3097 3098 $list[ $key ] = $value[ $field ]; 3098 3099 } 3099 3100
