No, it wasn’t me; others though.
But if this is an increasing tactic LinkedIn is adjudicating for behavior modification, my advice to you is mind your P’s and Q’s.
Temporary or, worst, permanent.
LinkedIn was never intended to be an airing of political, religious, morality or other belief, but rather a place to converse, civilly, professionally. It was never a place for guys to “hit” on women, although I have heard many stories about that being an offensive aspect that women suffer through. See section 8 of dos and don’ts here.
For you, I suggest you observe the rules on LinkedIn and stay on the high road of this global platform by advancing new ideas and sharing informative material, always staying reputable and honorable.
Be safe, be trustworthy, be a pro.