Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add missing relative namespace #5616

Merged
merged 1 commit into from
Jul 14, 2022
Merged

Add missing relative namespace #5616

merged 1 commit into from
Jul 14, 2022

Conversation

ssnepenthe
Copy link
Contributor

Previously if you were to do the following, you would get an undefined function error instead of the expected exception for wp one not being able to have subcommands:

WP_CLI::add_command('one', function() {});
WP_CLI::add_command('one two', function() {});

@ssnepenthe ssnepenthe requested a review from a team as a code owner February 7, 2022 17:05
@schlessera schlessera merged commit e11c896 into wp-cli:master Jul 14, 2022
@schlessera schlessera changed the title Fix undefined function error Add missing relative namespace Jul 14, 2022
@schlessera schlessera added this to the 2.7.0 milestone Jul 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants