Commit 28014a63 authored by Erick Hitter's avatar Erick Hitter
Browse files

Ensure there's always a fallback to WP

parent 2270e9e6
......@@ -135,6 +135,8 @@ try {
}
} elseif ( $_SERVER['REMOTE_ADDR'] != $server_ip && true === strstr( $current_url, 'preview=true' ) ) {
require dirname( __FILE__ ) . '/wp-blog-header.php';
} else {
require dirname( __FILE__ ) . '/wp-blog-header.php';
}
} catch ( Exception $e ) {
require dirname( __FILE__ ) . '/wp-blog-header.php';
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment