From 36dc0333e60103ce1a5647ea749a4b874b00e075 Mon Sep 17 00:00:00 2001 From: Caroline Moore Date: Thu, 15 Mar 2018 13:26:39 -0400 Subject: [PATCH] Publication: Removing deprecated Jetpack function that no longer works to adjust the size of gallery images. This is now handled by core. See #40 --- publication/inc/jetpack.php | 8 -------- 1 file changed, 8 deletions(-) diff --git a/publication/inc/jetpack.php b/publication/inc/jetpack.php index 5e79ea301..3cd32fa36 100644 --- a/publication/inc/jetpack.php +++ b/publication/inc/jetpack.php @@ -66,11 +66,3 @@ function publication_the_site_logo() { jetpack_the_site_logo(); } } - -/** - * Overwritte default gallery widget content width. - */ -function publication_gallery_widget_content_width( $width ) { - return 672; -} -add_filter( 'gallery_widget_content_width', 'publication_gallery_widget_content_width');