I guess Bonnie picked up a writing credit but Bobby Whitlock who was there at the time said it was Delaney and Leon who actually wrote it (supposedly based off a dream that Rita Coolidge had).
That's half of Mad Dogs and Englishmen right there.