Those repercussions are irrelevant in their entirety because it is both legal and right to discuss compensation. There's nothing for her to consider as wrong and inconveniencing an employer by exercising completely and utterly protected rights is not, in any way or by any stretch of the word, her problem. The company may have a problem with openness and truthfulness, but it's not hers, and to lay it at her feet speaks volumes of you but not of her.
(edit: politeness)