Yahoo was in all kinds of trouble when she took over. I'd argue she made a stupid mistake taking the job, not that they made a stupid mistake choosing her (whatever the motivation).
They did play it up quite a bit, I remember being annoyed at the stories of how tough she was with her in-office daycare and support staff for her newborn while other non-celebrity women I know had to order their whole lives around a pumping schedule.