So yes, I'm a bit behind in this, but I though I'd post this bit because I found it amusing.
"Rowling said she had already revealed Dumbledore's sexuality to David Yates, director of Harry Potter and the Half-Blood Prince, after seeing a scene in the script in which Dumbledore reminisces about an attraction to a young woman.
She said she crossed it out and wrote "Dumbledore is gay" over that section of the script."
Source:
CBC That is one hell of an edit to receive.