File tree Expand file tree Collapse file tree 1 file changed +12
-7
lines changed Expand file tree Collapse file tree 1 file changed +12
-7
lines changed Original file line number Diff line number Diff line change 11
11
12
12
DEBUG_INFO_INIT : {
13
13
$ debugInfo = [];
14
- }
14
+ } #@@/DEBUG_INFO_INIT
15
+
16
+ ABSPATH : {
17
+ /** Absolute path to the WordPress directory. */
18
+ defined ('ABSPATH ' ) or define ('ABSPATH ' , realpath (__DIR__ . '{{{WP_INSTALL_PATH}}} ' ) . '/ ' );
19
+
20
+ /**
21
+ * Load plugin.php early, so we can call hooks from here on.
22
+ * E.g. in Composer-autoloaded "files".
23
+ */
24
+ require_once ABSPATH . 'wp-includes/plugin.php ' ;
25
+ } #@@/ABSPATH
15
26
16
27
AUTOLOAD : {
17
28
/** Composer autoload. */
130
141
$ table_prefix = $ envLoader ->read ('DB_TABLE_PREFIX ' ) ?: 'wp_ ' ;
131
142
} #@@/DB_SETUP
132
143
133
- /** Absolute path to the WordPress directory. */
134
- defined ('ABSPATH ' ) or define ('ABSPATH ' , realpath (__DIR__ . '{{{WP_INSTALL_PATH}}} ' ) . '/ ' );
135
-
136
144
EARLY_HOOKS : {
137
- /** Load plugin.php early, so we can call hooks from here on. */
138
- require_once ABSPATH . 'wp-includes/plugin.php ' ;
139
-
140
145
/**
141
146
* Load early hooks file if any.
142
147
* Early hooks file allows to add hooks that are triggered before plugins are loaded, e.g.
You can’t perform that action at this time.
0 commit comments