PHP4 compatibility for files loaded before we bail. fixes #25760.

Merges [25986] to the 3.7 branch.


git-svn-id: https://develop.svn.wordpress.org/branches/3.7@25987 602fd350-edb4-49c9-b593-d223f7449a82