Exactly, and so there are a few outliers that don’t follow the spirit or good faith of the law. Guess what? You can ignore them! Nobody says you have to apply. There are plenty of other companies that are publishing informative salary ranges
Luckily humans don’t change quickly. 1870’s era anti trust issues are still relevant in 2023. Problem shows up 150+ years ago and we’re still dealing with it.
Slow patch times are often a feature. Laws that solve problems can seem irrelevant when those problems go away.