Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Ensure WP_CLI_ROOT is defined before accessing it#5697

Merged
danielbachhuber merged 1 commit into
masterwp-cli/wp-cli:masterfrom
fix/undefined-wp-cli-rootwp-cli/wp-cli:fix/undefined-wp-cli-rootCopy head branch name to clipboard
Nov 1, 2022
Merged

Ensure WP_CLI_ROOT is defined before accessing it#5697
danielbachhuber merged 1 commit into
masterwp-cli/wp-cli:masterfrom
fix/undefined-wp-cli-rootwp-cli/wp-cli:fix/undefined-wp-cli-rootCopy head branch name to clipboard

Conversation

@danielbachhuber

Copy link
Copy Markdown
Member

The PHP utilities can be used by the test framework, etc. without directly loading WP-CLI.

Introduced by #5672

Fixes wp-cli/wp-cli-tests#154

@danielbachhuber danielbachhuber merged commit fad5944 into master Nov 1, 2022
@delete-merged-branch delete-merged-branch Bot deleted the fix/undefined-wp-cli-root branch November 1, 2022 10:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Using the bundled PHP web server step triggers Use of undefined constant WP_CLI_ROOT warning

2 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.