Fit a plane through selected vertices

Would anyone be willing to bring this old discussion up to date and re-do the plugin for the Blender4.0 family?

Otherwise great job and so far, worth it to keep the legacy version around.

Thanks.