Class Clown is the thirteenth episode of Season 4.
Timmy tries to win the heart of Trixie by wishing that he was the funniest guy on Earth but when he finds out that a seemingly harmless plant he gave her is going to grow to gigantic proportions and eat her at 12 midnight. He cannot un-wish his wish either because Cosmo and Wanda are too busy laughing at Timmy to take him seriously.
After a visit to the "planet of seemingly-harmless plants," Timmy begins to approach Trixie with a plant he got from his trip, only to be stopped when Chad and Tad get to her first. They insult Timmy to get a laugh out of Trixie, making her want to date them. Watching this display, Timmy realizes that girls seem to love guys with a sense of humor.
While sitting in his room, Timmy asks Wanda why she chose Cosmo since Cosmo wasn't very smart or particularly handsome. At that moment, Cosmo pours water on a cat, agitating it and making it attack him. Wanda starts laughing and states that that's why she chose Cosmo--because he was funny. Hearing this, Timmy realizes that the only way to get Trixie's attention was to make her laugh, so he wishes that he was the funniest man on Earth. Soon enough, he can make anyone bust a gut laughing just by talking to them. Finally able to make Trixie laugh, Timmy is able to hold her attention long enough to give her the seemingly-harmless plant and ask her out.
That night, Timmy goes to Trixie's mansion for their date, but because of Timmy's wish, Trixie cannot stop laughing at him and she thinks that every word that comes out of Timmy's mouth is a joke. Timmy leaves in frustration since no one would really listen to him anymore.
Later on, Timmy learns from Cosmo that the plant he gave Trixie would eat her heart out at midnight. Timmy tries to wish the plant away but Cosmo and Wanda won't take him seriously because he's "the funniest kid on earth". Realizing that the wish only holds true if he is on Earth, Timmy tricks them into going to Fairy World by offering to share his humor with the rest of Fairy World. Once there, nobody thinks Timmy is funny since he wished he was the funniest kid on Earth. He is able to wish himself back to his unfunny self.
Armed with many garden tools to kill the plant, Timmy goes back to Trixie's mansion. In her room, the plant has grown enormously in size and it sprays Trixie with a gas to render her unconscious. After Timmy's fierce brawl with the plant that nearly destroys Trixie's room, he is finally able to grab some hedge clippers and cut its stem in half. The plant quickly shrinks and shrivels up. Eventually, Trixie wakes up in Timmy's arms confused, and when she sees that he killed her plant, she dumps him and kicks him out the window. Even though Timmy lost his chance to be Trixie's boyfriend, he's just happy that she's safe. Cosmo tries to cheer Timmy up by taking them on a trip to the "planet with almost enough oxygen," making Timmy and Wanda suffocate while, strangely enough, Cosmo is able breathe.