One final point about why pay secrecy is an obsoletepractice: as already mentioned, when pay is secret, managers are often tempted to make and do make indefensible pay decisions.
Perhaps the best way to summarize pay secrecy is to say that it has become an old-fashioned, obsolete management practice that has a much larger downside than upside.