Added back the $addslashes / $stripslashes changes. They *are* defined somewhere; they just needed to be declared global.