Ticket #31097: 31097.patch
File 31097.patch, 435 bytes (added by , 10 years ago) |
---|
-
src/wp-includes/user.php
1975 1975 $userdata = $userdata->to_array(); 1976 1976 } 1977 1977 1978 $ID = (int) $userdata['ID'];1978 $ID = !empty($userdata['ID']) ? absint($userdata['ID']) : 0; 1979 1979 1980 1980 // First, get all of the original fields 1981 1981 $user_obj = get_userdata( $ID );