I don't eat baked good that kids bring in unless I know their families and have seen where they cook. The single time I broke my rule last year, I had a cat hair in my cupcake. I thank kids profusely, make a big deal and then drop them off in the teacher's lounge.
Pinterest has some great teacher gifts, and one of my favorite gifts was a personalized tumbler.
Many things to many people.