WordPress blog goes blank after editing and updating the theme files

Really weird but not unexpected at all. After trying to edit and update a theme file functions.php to override a native function of WordPress, get_search_form, inserting these lines at the end of functions.php of my theme:

function get_search_form() {
?>test<?php
}

To see if the native get_search_form() function can be overriden. Turns out it can’t. Not only that but my WordPress blog refuses to load anything other than a blank white page. I have to get on FTP to revert those changes.

And it recovers from the strike.

Scroll to Top