Make sure we are not passing arrays to the esc_attr() function.