| @@ -1,8 +1,8 @@ | ||
| 1 | 1 | <?php |
| 2 | 2 | /** |
| 3 | 3 | * Module Name: Sharing |
| 4 | - * Module Description: Add Twitter and Facebook buttons at the bottom of each post, making it easy for visitors to share your content. | |
| 4 | + * Module Description: Add sharing buttons at the bottom of each post, making it easy for visitors to share your content. | |
| 5 | 5 | * Sort Order: 7 |
| 6 | 6 | * Recommendation Order: 6 |
| 7 | 7 | * First Introduced: 1.1 |
| 8 | 8 | * Major Changes In: 1.2 |
| @@ -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' ); |