I an 98% certain the thread pitch is the same as the other two oil filter cover bolts.
If you plan on using a thread repair kit to fix that stripped hole, make 101% certain you won't be blocking an oil passage within your bike's crankcase cover when you place that thread insert in the cover.
As was pointed out in your other thread with the pic of your bike, you have a 2001 WR250F.
This forum is for the WR250R and WR250X, and your WR250F has practically zero parts in common with the WR250R and X.
So, whenever looking for info or communicating info about your bike, you need to specify the F on the end of your model designation.
Why is it so confusing?
Ask the Yamaha marketing men.
The forum called ThumperTalk has a good WR250F section.