@Ilpo **********
for clarification...had your wife bought a Re-entry permit before she Left Thailand, Then she would have been stamped in until September 8, 2024 as stated by Moderator Ellie.
It was ๐ซ NOT an Extension that was needed...it SIMPLY was buying a Re-entry permit for 1200 Thai baht at the Airport BEFORE she departed Thailand.