Lea Michele
Lea Michele (Wikimedia Commons/David Shankbone)Wikimedia Commons/David Shankb

"Glee" actress Lea Michele made a jaw-dropping announcement on Friday, when she tweeted that she was with child. But it was later revealed that her social media account was hacked, and that the tweet wasn't sent by Michele.

"Before this gets out to the media, I would like to announce to my fans that I am pregnant #BabyBoy," said the message posted on Friday.

Michele, who was previously dating her "Glee" co-star Cory Monteith before he died of a drug overdose last year, is currently in a relationship with aspiring actor Matthew Paetz. The two met on the sets of the music video for her song "On My Way."

"She waited a long time before getting serious again and she likes him a lot," a source recently told E! News. Another insider added that Paetz "treats her really well, he's smart and fun. She's really happy."

Shortly after the tweet was posted, Michele's representative released a statement confirming that her Twitter account was hacked, but did not elaborate on whether the pregnancy news was true.

A few hours later, the actress too took to her social networking account to joke about the hacking. "I was HACKED! Guess @chriscolfer and I should have known better then (sic) to make our passwords the names of our cats," she wrote.

This comes a day after her "Glee" co-star Chris Colfer's Twitter was also hacked, and a false statement of him leaving the "Fox" show was posted on the social media account.

"Due to personal issues, I have been let go from the cast of GLEE. Explanations will come shortly," the tweet, which set off an Internet frenzy, read. The post has since been deleted.

Studio 20th Century Fox Television immediately came out with a statement saying that Colfer's Twitter account has been hacked. "We've been alerted that Chris Colfer's Twitter account has been hacked. Rumors of his dismissal from Glee could not be further from the truth. We love Chris and look forward to working with him again this season," the statement to Time read.

The actor's publicist too told The Hollywood Reporter that Colfer was on a mid-Atlantic flight when the tweet was posted. He did not have access to a WiFi facility to update his Twitter account, the publicist noted.

Later, Colfer made light of the infiltration tweeting: "Apparently I missed quite the INTERESTING day while aboard my flight. I'm just glad I wasn't 'killed by a fruit truck' again."