fix bug 864724 - Allow wp-admin to use index.php while still blocking direct hits to index.php

https://bugzilla.mozilla.org/show_bug.cgi?id=864724

To test:

1.  Hit /wp-content/themes/Hacks2013/index.php -- should die
2.  Go into an article with comments, trash the comment, and it should work.