Revert removing magic quotes to stay compatible with 1.9.3