Created
October 30, 2021 07:11
-
-
Save sean-e-dietrich/711d5dbfd87d3aa03ca5e7d584ce9f0c to your computer and use it in GitHub Desktop.
Wordpress Autoloader
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/wp-settings.php b/wp-settings.php | |
index 99e77f3..aa73603 100644 | |
--- a/wp-settings.php | |
+++ b/wp-settings.php | |
@@ -30,6 +30,7 @@ define( 'WPINC', 'wp-includes' ); | |
* @global string $wp_local_package Locale code of the package. | |
*/ | |
global $wp_version, $wp_db_version, $tinymce_version, $required_php_version, $required_mysql_version, $wp_local_package; | |
+require ABSPATH . '/autoload.php'; | |
require ABSPATH . WPINC . '/version.php'; | |
require ABSPATH . WPINC . '/load.php'; | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment