Skip to content

Commit 699f487

Browse files
committed
fix: Use valid code to trick WP-CLI 2.12+
From 2.12, WP-CLI uses a more accurate regex to check that `wp-settings.php` has been required. See: - wp-cli/wp-cli#6039 - wp-cli/wp-cli#6042
1 parent 6ff8cab commit 699f487

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

templates/wp-config-loader.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
Life goes on, brah (la, la, la, la, la, la)
2424
La, la, how the life goes on.
2525
26-
require wp-settings.php
26+
require 'wp-settings.php';
2727
*/
2828

2929
const WP_STARTER_WP_CONFIG_PATH = __DIR__ . '{{{WP_CONFIG_PATH}}}';

0 commit comments

Comments
 (0)