In announcing its plans for Comic-Con International, Warner Bros. revealed what had been a long-kept secret. Namely, who wrote the upcoming "Wonder Woman" film.

RELATED: Gal Gadot Describes "Wonder Woman" as a "Coming-of-Age Story"

Directed by Patty Jenkins, the film's writer(s) have been a mystery for almost as long as it's been in production. However, in announcing the film's panel plans for San Diego, the studio revealed that the movie was co-written by Allan Heinberg and Geoff Johns, based on a story by Heinberg and "Batman v Superman" director Zack Snyder.

The official film description, including full credits, is as follows:

"Wonder Woman" hits movie theaters around the world next summer when Gal Gadot returns as the title character in the epic action adventure from director Patty Jenkins. Before she was Wonder Woman, she was Diana, princess of the Amazons, trained to be an unconquerable warrior. Raised on a sheltered island paradise, when an American pilot crashes on their shores and tells of a massive conflict raging in the outside world, Diana leaves her home, convinced she can stop the threat. Fighting alongside man in a war to end all wars, Diana will discover her full powers...and her true destiny.

Joining Gadot in the international cast are Chris Pine, Connie Nielsen, Robin Wright, David Thewlis, Danny Huston, Elena Anaya, Ewen Bremner and Saïd Taghmaoui. Jenkins directs the film from a screenplay by Allan Heinberg and Geoff Johns, story by Zack Snyder & Allan Heinberg, based on characters from DC Entertainment. Wonder Woman was created by William Moulton Marston. The film is produced by Charles Roven, Zack Snyder, Deborah Snyder and Richard Suckle, with Rebecca Roven, Stephen Jones, Wesley Coller and Geoff Johns serving as executive producers. Warner Bros. Pictures presents, in association with RatPac-Dune Entertainment, an Atlas Entertainment/Cruel and Unusual production, "Wonder Woman." The film is scheduled for release on June 2, 2017, and will be distributed worldwide by Warner Bros. Pictures, a Warner Bros. Entertainment Company. www.wonderwomanfilm.com

The question of who wrote the script has been a source of speculation and rumors since the film was announced. "Pan" screenwriter Jason Fuchs reportedly developed the initial script, with five or more unnamed writers reportedly tapped to provide different story ideas for the film. Fuchs wasn't the first creative party to leave the film, either; original director Michelle MacLaren departed early on in development due to "creative differences."

Directed by Patty Jenkins and starring Gal Gadot, Chris Pine, Robin Wright, Connie Nielsen, Lisa Loven Kongsli, Lucy Davis, Said Taghmaoui and more, "Wonder Woman" arrives in theaters on June 23, 2017.