mozilla/mozhacks — pull request #14 by darkwing (2013-05-29 15:40:21+00:00)
Title: 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.