File tree Expand file tree Collapse file tree 2 files changed +6
-5
lines changed
packages/playground/wordpress/src Expand file tree Collapse file tree 2 files changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -242,6 +242,12 @@ export async function bootRequestHandler(options: BootRequestHandlerOptions) {
242
242
if ( options . phpIniEntries ) {
243
243
setPhpIniEntries ( php , options . phpIniEntries ) ;
244
244
}
245
+
246
+ // Use the new AST-based SQLite driver.
247
+ // TODO: Remove this once the new driver is the default; when this is closed:
248
+ // https://github.com/WordPress/sqlite-database-integration/issues/195
249
+ php . defineConstant ( 'WP_SQLITE_AST_DRIVER' , true ) ;
250
+
245
251
/**
246
252
* Set up mu-plugins in /internal/shared/mu-plugins
247
253
* using auto_prepend_file to provide platform-level
Original file line number Diff line number Diff line change @@ -377,11 +377,6 @@ export async function preloadSqliteIntegration(
377
377
} `;
378
378
await php . mv ( temporarySqlitePluginFolder , SQLITE_PLUGIN_FOLDER ) ;
379
379
380
- // Use the new AST-based SQLite driver.
381
- // TODO: Remove this once the new driver is the default; when this is closed:
382
- // https://github.com/WordPress/sqlite-database-integration/issues/195
383
- php . defineConstant ( 'WP_SQLITE_AST_DRIVER' , true ) ;
384
-
385
380
// Prevents the SQLite integration from trying to call activate_plugin()
386
381
await php . defineConstant ( 'SQLITE_MAIN_FILE' , '1' ) ;
387
382
const dbCopy = await php . readFileAsText (
You can’t perform that action at this time.
0 commit comments