Fix: Issue that caused users running WordPress in debug mode to see is_404() warning message.
Fix: Issue that caused Call to undefined function wp_get_current_user warning.
Fix: Issue that caused caching to not work on sites using subdirectories. 
Fix: Issue that caused SQL errors to periodically appear about wfPerfLog table.
Fix: Issue that caused warnings about array elements not being declared. 



git-svn-id: https://plugins.svn.wordpress.org/wordfence/trunk@888830 b8457f37-d9ea-0310-8a92-e5e31aec5664