Skip to content

Commit cc9e560

Browse files
Tweak comments
1 parent a48489e commit cc9e560

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

‎apps/cli/commands/wp.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ async function runNativePhpWpCliCommand( site: SiteData, args: string[] ): Promi
4848
const phpVersion = validateNativePhpVersion( site.phpVersion );
4949
await ensurePhpBinaryAvailable( phpVersion );
5050
await writeStudioMuPluginsForNativePhpRuntime( site.path, site.isWpAutoUpdating );
51-
// Don't apply open_basedir or risky functions to the WP-CLI process
51+
// Don't apply open_basedir or disable_functions to the WP-CLI process
5252
const defaultArgs = getDefaultPhpArgs( phpVersion );
5353
const child = spawn(
5454
getPhpBinaryPath( phpVersion ),

‎apps/cli/lib/run-wp-cli-command.ts‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ async function runNativeWpCliCommand(
125125
const nativeArgs = applyWpCliCommandOptions( 'native', args, options );
126126
const phpVersion = validateNativePhpVersion( options.phpVersion ?? DEFAULT_PHP_VERSION );
127127
await writeStudioMuPluginsForNativePhpRuntime( site.path, site.isWpAutoUpdating );
128-
// Don't apply open_basedir or risky functions to the WP-CLI process
128+
// Don't apply open_basedir or disable_functions to the WP-CLI process
129129
const defaultArgs = getDefaultPhpArgs( phpVersion );
130130
const child = spawn(
131131
getPhpBinaryPath( phpVersion ),
@@ -262,7 +262,7 @@ export async function runWpCliCommand(
262262

263263
async function runNativeGlobalWpCliCommand( args: string[] ): Promise< DisposableWpCliResponse > {
264264
const phpVersion = validateNativePhpVersion( DEFAULT_PHP_VERSION );
265-
// Don't apply open_basedir or risky functions to the WP-CLI process
265+
// Don't apply open_basedir or disable_functions to the WP-CLI process
266266
const defaultArgs = getDefaultPhpArgs( phpVersion );
267267
const child = spawn(
268268
getPhpBinaryPath( phpVersion ),

0 commit comments

Comments
 (0)