Skip to content

Commit

Permalink
move redirect directly after saving option
Browse files Browse the repository at this point in the history
  • Loading branch information
afragen committed Jul 31, 2016
1 parent 0b357e7 commit 03cde21
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/GitHub_Updater/Settings.php
Original file line number Diff line number Diff line change
Expand Up @@ -530,8 +530,8 @@ public function remote_management_page_init() {
$options = (array) self::sanitize( $_POST['github_updater_remote_management'] );
}
update_site_option( 'github_updater_remote_management', $options );
$this->redirect_on_save();
}
$this->redirect_on_save();
}

/**
Expand Down

0 comments on commit 03cde21

Please sign in to comment.