Wood glue only glues wood. By itself, its pretty brittle and probably won't hold a fret in. If you're trying to hold frets down, preradiusing will help before you install your frets. If the frets are already in, and they're sticking out the sides, then I would do what everyone has suggested and either dress them down, or get a humidifier...
It makes more sense to me to dress them down though, as I'd be annoyed if they stuck out the sides again.