You are right – I forgot to escape the input redirection and wordpress just ate my ‘<'s and the EOF after them because he thought its an HTML tag. I fixed noe.