That's not what they're talking about. The OP was referring to a hoax (which they seem to have fallen for), where a fake news site claimed (incorrectly) that a study had claimed that women carried genetic material (long-term) from men they'd had sex with.
Inheritance doesn't work that way.