Oscar Wilde wrote it.
It comes from "The Picture of Dorian Gray." I forget if Dorian says it or if Lady Brandon says it, but the full quote is, "It is silly of you, for there is only one thing in the world worse than being talked about, and that is not being talked about."