From d946d0ca50778c9baa09f05d09cb2e92720b82fe Mon Sep 17 00:00:00 2001 From: Yury German Date: Sun, 19 Mar 2017 02:02:42 -0400 Subject: Jetpack version 4.7.1 --- plugins/jetpack/modules/sharedaddy/sharing-service.php | 6 ------ 1 file changed, 6 deletions(-) (limited to 'plugins/jetpack/modules/sharedaddy/sharing-service.php') diff --git a/plugins/jetpack/modules/sharedaddy/sharing-service.php b/plugins/jetpack/modules/sharedaddy/sharing-service.php index f89d8592..a3a3e6d8 100644 --- a/plugins/jetpack/modules/sharedaddy/sharing-service.php +++ b/plugins/jetpack/modules/sharedaddy/sharing-service.php @@ -548,9 +548,6 @@ function sharing_add_footer() { ); wp_localize_script( 'sharing-js', 'sharing_js_options', $sharing_js_options); } -} - -function sharing_add_footer_scripts_inline() { $sharer = new Sharing_Service(); $enabled = $sharer->get_blog_services(); foreach ( array_merge( $enabled['visible'], $enabled['hidden'] ) AS $service ) { @@ -779,9 +776,6 @@ function sharing_display( $text = '', $echo = false ) { // Enqueue scripts for the footer add_action( 'wp_footer', 'sharing_add_footer' ); - - // Print inline scripts that depend on jQuery - add_action( 'wp_footer', 'sharing_add_footer_scripts_inline', 25 ); } } -- cgit v1.2.3-65-gdbad