Internally, sharing your salary with co-workers is federally protected speech. You could argue to a recruiter that your salary exposed publicly is sharing trade secrets.
Even federally arguing that current salary is a trade secret is a legal gray area.