Olivia Wilde tweeted Glamour magazine's photo of her breastfeeding son Otis, joking that he peed on her dress during the shoot Credit: Dave Kotinsky/Getty Images

When you gotta go, you gotta go! After Glamour magazine released its photos of Olivia Wilde breastfeeding her son, Otis, the actress tweeted a little behind-the-scenes scoop about the high-fashion shoot, joking that her baby boy had to answer the call of nature on set.

"Otis ordered milkshakes. Luckily I had some on me. Then he peed on my dress. Good kid," the Drinking Buddies star, 30, captioned the Glamour shot. She hashtagged the pic "#boobfood" and "#whennaturecalls."

In a follow-up tweet, Wilde praised the glossy for rising above the social stigma associated with breastfeeding in public. "Thanks @glamourmag for knowing there's nothing indecent about feeding a hungry baby," she wrote. 

The new mom—who welcomed Otis with fiance Jason Sudeikis in April—made quite a splash when the photo debuted on Tuesday, Aug. 5. Speaking about the shoot in her interview with the mag, she said, "Being shot with Otis is so perfect because any portrait of me right now isn't complete without my identity as a mother being a part of that. Breastfeeding is the most natural thing." 

"I don't know, now it feels like Otis should always be on my breast," she continued. "It felt like we were capturing that multifaceted woman we've been discussing—that we know we can be. You can be someone who is at once maternal and professional and sexy and self-possessed." She added, though, that she's not typically so glammed-up when she breastfeeds on a normal day. "And there's usually a diaper involved," quipped the former model, who wore a Roberto Cavalli dress for the pic.