diff --git src/wp-settings.php src/wp-settings.php
index f5a0929db8..ca6614fcf1 100644
--- src/wp-settings.php
+++ src/wp-settings.php
@@ -8,6 +8,10 @@
  * @package WordPress
  */
 
+if ( ! defined( 'ABSPATH' ) ) {
+	die();
+}
+
 /**
  * Stores the location of the WordPress directory of functions, classes, and core content.
  *
