I'm not a legal expert - but although the law is asinine enough to say "12 months," it doesn't say that breastfeeding babies older than that will be subject to public indecency laws or etc.
So I'd imagine that if someone were to be harassed about bfip with an 18 month old, and it was taken to court, it's entirely likely that given the fact that the very law itself states "thereafter as long as" straight from the AAP guidelines -- it would be difficult for the state to argue that its own basis for the law, doesn't apply beyond a certain age when the sources certainly don't limit it. KWIM?
I wonder if they thought "12 months" would protect moms of "older" babies who were bf [not even realizing that some moms bf for much longer], or if they were trying to limit bf beyond 1 year of age? I think honestly a lot of people in the mainstream think that bf an 11 month old is a terribly old baby to "still be nursing."

: