Skip to content

Commit bd5e73b

Browse files
committed
Use WP config transformer to inject required WP config constants
1 parent a1e3845 commit bd5e73b

File tree

4 files changed

+337
-248
lines changed

4 files changed

+337
-248
lines changed

packages/playground/blueprints/src/lib/steps/define-wp-config-consts.ts

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -62,12 +62,7 @@ export const defineWpConfigConsts: StepHandler<
6262
case 'rewrite-wp-config': {
6363
const documentRoot = await playground.documentRoot;
6464
const wpConfigPath = joinPaths(documentRoot, '/wp-config.php');
65-
await defineWpConfigConstants(
66-
playground,
67-
wpConfigPath,
68-
consts,
69-
'rewrite'
70-
);
65+
await defineWpConfigConstants(playground, wpConfigPath, consts);
7166
break;
7267
}
7368
default:

packages/playground/wordpress/src/auto-configure-wp-config.php

Lines changed: 0 additions & 120 deletions
This file was deleted.

0 commit comments

Comments
 (0)