I'd go with "what the????"
The exterior door in your part of "Earthquakeville USA" needs to be done correctly. Any advice from the HD guy you delt with is wrong.
Change the header and get a 36 inch door if you can fit it.
Go to the library and get a framing book to help you out, they are still free.

And have the right answers.
Good luck.