WP-2930: Remove obsolete entityreference patch.