From d9dc5639c33fc7d82fb14ccacb25d96d98313f70 Mon Sep 17 00:00:00 2001 From: Miguel Lezama Date: Tue, 6 May 2014 11:28:11 -0300 Subject: [PATCH] Hide jps_start_end query arg. --- jetpack-start.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/jetpack-start.php b/jetpack-start.php index 70ab0ae..05e0696 100644 --- a/jetpack-start.php +++ b/jetpack-start.php @@ -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'] ) ) {