Winstead and Unger had been courted last year by UPN to develop a parody of newsmagazines . . . but Fox’s new entertainment chief, Doug Herzog, lured the pair away.

FOX has ordered the pilot episode for a newsmagazine parody from the co-creator of Comedy Central’s “Daily Show,” according to insiders.

The show, called “This Week Has Seven Days,” is expected to be ready for a mid-season debut.

Despite insider buzz, a network source told The Post that the deal for the new show is not final, “but is close.” Lizz Winstead, who helped to develop the “Daily Show,” and Brian Unger, one of its former correspondents, begin shooting the pilot next month.

Unger will serve as anchor, while A. Whitney Brown, another “Daily Show” alumnus, will be its chief correspondent.

Winstead and Unger were courted last year by UPN to develop a parody of newsmagazines like “Dateline” and “60 Minutes,” but Fox’s new entertainment chief Doug Herzog lured the pair away when he joined the network earlier this year.

Herzog was instrumental in developing the “Daily Show” when he was president of Comedy Central.

He hired Winstead and “Daily Show” executive producer Madeline Smithberg to create the show after the network learned it was going to lose “Politically Incorrect” to ABC in 1996.

Winstead, Unger and Herzog were unavailable for comment.

Last year, Winstead left Comedy Central shortly after former “Daily Show” anchor Craig Kilborn made a crude joke about her during an interview.

And last November, The Post learned that Unger was leaving the show when Brown – also a “Daily Show” correspondent – announced he was planning to exit the show.

At the time, Unger said he was hoping to land a network TV deal working with Brown.