Skip to content

Commit

Permalink
Merge pull request #244 from musicaljoeker/235
Browse files Browse the repository at this point in the history
Fix logic error in presence of 'site meta' check
  • Loading branch information
schlessera committed Apr 1, 2019
2 parents a6e4c61 + cf56a62 commit 4f4992f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion entity-command.php
Expand Up @@ -32,7 +32,7 @@
if ( !is_multisite() ) {
WP_CLI::error( 'This is not a multisite installation.' );
}
if( function_exists('is_site_meta_supported') && !is_site_meta_supported() ){
if( ! function_exists('is_site_meta_supported') || ! is_site_meta_supported() ){
WP_CLI::error( sprintf( 'The %s table is not installed. Please run the network database upgrade.', $GLOBALS['wpdb']->blogmeta ) );
}
}
Expand Down

0 comments on commit 4f4992f

Please sign in to comment.