From a6b006c0f1ef757f23375f7906193370337d8bd7 Mon Sep 17 00:00:00 2001 From: "Anthony G. Basile" Date: Fri, 8 Jun 2018 10:09:24 -0400 Subject: Update jetpack 6.2 --- plugins/jetpack/modules/likes/jetpack-likes-settings.php | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'plugins/jetpack/modules/likes/jetpack-likes-settings.php') diff --git a/plugins/jetpack/modules/likes/jetpack-likes-settings.php b/plugins/jetpack/modules/likes/jetpack-likes-settings.php index cafe111e..b58467a6 100644 --- a/plugins/jetpack/modules/likes/jetpack-likes-settings.php +++ b/plugins/jetpack/modules/likes/jetpack-likes-settings.php @@ -156,6 +156,21 @@ class Jetpack_Likes_Settings { return $post_id; } + /** + * WordPress.com: Metabox option for sharing (sharedaddy will handle this on the JP blog) + */ + public function sharing_meta_box_content( $post ) { + $post_id = ! empty( $post->ID ) ? (int) $post->ID : get_the_ID(); + $disabled = get_post_meta( $post_id, 'sharing_disabled', true ); ?> +

+ + +