summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/jetpack/modules/sharedaddy/sharedaddy.php')
-rw-r--r--plugins/jetpack/modules/sharedaddy/sharedaddy.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/jetpack/modules/sharedaddy/sharedaddy.php b/plugins/jetpack/modules/sharedaddy/sharedaddy.php
index ffd7bbc4..18c04d38 100644
--- a/plugins/jetpack/modules/sharedaddy/sharedaddy.php
+++ b/plugins/jetpack/modules/sharedaddy/sharedaddy.php
@@ -200,7 +200,7 @@ function sharing_restrict_to_single( $services ) {
}
function sharing_init() {
- if ( get_option( 'sharedaddy_disable_resources' ) ) {
+ if ( Jetpack_Options::get_option_and_ensure_autoload( 'sharedaddy_disable_resources', '0' ) ) {
add_filter( 'sharing_js', 'sharing_disable_js' );
remove_action( 'wp_head', 'sharing_add_header', 1 );
}