Skip to content

Commit

Permalink
Add duplicate preflight check
Browse files Browse the repository at this point in the history
This was added in #53, but there is another place we should check it.
  • Loading branch information
nylen committed Feb 19, 2019
1 parent 4b460f4 commit b1402d5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/update.php
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,8 @@ function classicpress_override_upgrade_page() {
! is_array( $preflight_checks ) ||
empty( $preflight_checks['wp_version'] ) ||
empty( $preflight_checks['php_version'] ) ||
empty( $preflight_checks['wp_http_supports_ssl'] )
empty( $preflight_checks['wp_http_supports_ssl'] ) ||
empty( $preflight_checks['conflicting_files'] )
) {
return;
}
Expand Down

0 comments on commit b1402d5

Please sign in to comment.