Skip to content

Conversation

@josephkerkhof
Copy link

@josephkerkhof josephkerkhof commented Mar 31, 2019

WordPress sites prior to 5.1 do not support calls to the 'site meta' command. Instead of throwing a fatal error, WP CLI now errors gracefully saying that the table is not supported.

Fixes #235

@josephkerkhof josephkerkhof requested a review from a team as a code owner March 31, 2019 19:36
@schlessera schlessera changed the title Resolves issue 235 where error wasn't being thrown if 'site meta' isn't supported Fix logic error in presence of 'site meta' check Apr 1, 2019
@schlessera schlessera added this to the 2.0.3 milestone Apr 1, 2019
@schlessera schlessera merged commit 4f4992f into wp-cli:master Apr 1, 2019
@schlessera
Copy link
Member

Thanks for the PR, @musicaljoeker !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants