Update functions.php

Changed OR precedence.