Added $data parameter to display_field() function to make compatible with EE 2.7