Skip to content

Commit

Permalink
Hide jps_start_end query arg.
Browse files Browse the repository at this point in the history
  • Loading branch information
lezama committed May 6, 2014
1 parent 7981d11 commit d9dc563
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions jetpack-start.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@
add_action( 'init', function() {
if ( isset( $_GET['jps_wizard_end'] ) ) {
add_option( 'jpstart_wizard_has_run', true );
wp_safe_redirect( remove_query_arg( 'jps_wizard_end' ) );
die();
}

if ( ! get_option( 'jpstart_wizard_has_run' ) || isset( $_GET['jps_wizard_start'] ) ) {
Expand Down

0 comments on commit d9dc563

Please sign in to comment.