 According to his book, "Laughing Matters", writer  Larry Gelbart (qv) was hired, fired, and rehired to do the script.  The same thing happened to director Don Seigel (qv). In the end,  Blake Edwards (qv) and several other writers came and went from  the production. Gelbart removed his name from the official release  versions of the film.