Escape permalink URL at end of functions.php