| @@ -39,9 +39,9 @@ | ||
| 39 | 39 | * @return string Sharing config URL |
| 40 | 40 | */ |
| 41 | 41 | function jetpack_sharedaddy_configuration_url() { |
| 42 | 42 | $status = new Status(); |
| 43 | - if ( $status->is_offline_mode() || $status->is_staging_site() || ! ( new Connection_Manager( 'jetpack' ) )->is_user_connected() ) { | |
| 43 | + if ( $status->is_offline_mode() || $status->in_safe_mode() || ! ( new Connection_Manager( 'jetpack' ) )->is_user_connected() ) { | |
| 44 | 44 | return admin_url( 'options-general.php?page=sharing' ); |
| 45 | 45 | } |
| 46 | 46 | |
| 47 | 47 | return Redirect::get_url( 'calypso-marketing-sharing-buttons' ); |