We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4c7bd06 commit 7b2c75bCopy full SHA for 7b2c75b
1 file changed
packages/runtime-cloudflare/src/worker.ts
@@ -128,6 +128,11 @@ async function bootWordPressRuntime(
128
): Promise<{ php: PHP; wordpressVersion: string }> {
129
const requestHandler = await bootWordPressAndRequestHandler({
130
createPhpRuntime,
131
+ constants: {
132
+ AUTOMATIC_UPDATER_DISABLED: true,
133
+ DISABLE_WP_CRON: true,
134
+ WP_HTTP_BLOCK_EXTERNAL: true,
135
+ },
136
dataSqlPath: DATABASE_PATH,
137
hooks: streamWordPressFiles || databaseSeed ? {
138
beforeWordPressFiles: streamWordPressFiles ? materializeWordPressServerFiles : undefined,
0 commit comments