summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/jetpack/class.jetpack-debugger.php')
-rw-r--r--plugins/jetpack/class.jetpack-debugger.php5
1 files changed, 3 insertions, 2 deletions
diff --git a/plugins/jetpack/class.jetpack-debugger.php b/plugins/jetpack/class.jetpack-debugger.php
index 93565744..44ecf24f 100644
--- a/plugins/jetpack/class.jetpack-debugger.php
+++ b/plugins/jetpack/class.jetpack-debugger.php
@@ -54,7 +54,7 @@ class Jetpack_Debugger {
if ( $can_disconnect ) {
if ( Jetpack::is_active() ) {
Jetpack::disconnect();
- wp_redirect( Jetpack::admin_url() );
+ wp_safe_redirect( Jetpack::admin_url() );
exit;
}
}
@@ -365,7 +365,8 @@ class Jetpack_Debugger {
$categories = array(
'Connection' => esc_html__( "I'm having trouble connecting Jetpack to WordPress.com", 'jetpack' ),
'Billing' => esc_html__( 'I have a billing or plans question', 'jetpack' ),
- 'Backups' => esc_html__( 'I need help with backing up or restoring my site', 'jetpack' ),
+ 'Backups' => esc_html__( 'I need help with backing up my site.', 'jetpack' ),
+ 'Restores' => esc_html__( 'I have a problem restoring my site.', 'jetpack' ),
'Security' => esc_html__( 'I have security concerns / my site is hacked', 'jetpack' ),
'Priority' => esc_html__( "My site is down / I can't access my site", 'jetpack' ),
/* translators: Last item in a list of reasons to contact Jetpack support. */