Folks there are Long Stay people affected too. Thousands of people on Non Imm. Multi-Entry B and O Visas who have been cut off from performing legally allowed Border Runs / Border Bounces to gain another 90 days allowed under Immigration law. The Thai Border is still closed. And Thailand does not have control of neighbor country borders nor any control of regional countries' entrance restrictions by air.
Best check in with your Immigration office. If you do not need an extension or you can't get one prior to July 31...Then let that decision be on the I/O... You will have a record of your visit either way...