WordPress.org

Make WordPress Core

Ticket #16895: 16895.patch

File 16895.patch, 454 bytes (added by hakre, 4 years ago)

Remove the cause and the sympton.

  • wp-includes/functions.php

    ### Eclipse Workspace Patch 1.0
    #P wordpress-trunk
     
    30943094function wp_list_pluck( $list, $field ) { 
    30953095        foreach ( $list as $key => $value ) { 
    30963096                $value = (array) $value; 
     3097                unset( $list[ $key ] ); 
    30973098                $list[ $key ] = $value[ $field ]; 
    30983099        } 
    30993100