Skip to content

Conversation

@danielbachhuber
Copy link
Member

Improves the warning message present when wp theme install --activate is used with multiple themes:

Before:

$ wp theme install twentytwelve twentyeleven --activate
Warning: Only a single theme can be active.

After:

$ wp theme install twentytwelve twentyeleven --activate
Warning: Only this single theme will be activated: twentyeleven

From #408
Related #406
Related wp-cli/wp-cli#5935

@danielbachhuber danielbachhuber added command:theme Related to 'theme' command command:theme-install Related to 'theme install' command labels Apr 26, 2024
@danielbachhuber danielbachhuber added this to the 2.1.20 milestone Apr 26, 2024
@danielbachhuber danielbachhuber self-assigned this Apr 26, 2024
@danielbachhuber danielbachhuber requested a review from a team as a code owner April 26, 2024 10:27
@ernilambar ernilambar merged commit 5dcbb5e into main Apr 26, 2024
@ernilambar ernilambar deleted the improve-multiple-theme-install-warning branch April 26, 2024 10:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

command:theme Related to 'theme' command command:theme-install Related to 'theme install' command

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants