Skip to content

Commit

Permalink
Revert "Prevent multiple clicks on the Migrate button (#46)"
Browse files Browse the repository at this point in the history
This reverts commit f87a6a0.

Fixes #50.
  • Loading branch information
nylen committed Dec 27, 2018
1 parent ca9432e commit 97d3403
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions lib/admin-page.php
Original file line number Diff line number Diff line change
Expand Up @@ -561,12 +561,7 @@ function classicpress_show_migration_controls() {
name="upgrade"
>
<?php wp_nonce_field( 'upgrade-core' ); ?>
<input type="hidden" name="upgrade" value="yes" />
<button
class="button button-primary button-hero"
type="submit"
onclick="javascript:this.disabled = true;"
>
<button class="button button-primary button-hero" type="submit" name="upgrade">
<?php
if ( is_multisite() ) {
_e(
Expand Down

0 comments on commit 97d3403

Please sign in to comment.