2 media outlets warned of legal action