@sam, you appear to be the last to have touched this in a meaningful way.
Oooh! And I can confirm that it fixes the site where I was previously unable to open preferences or preferences/badges.
Thanks, @xrav3nz!