Publication: Removing deprecated Jetpack function that no longer works to adjust the size of gallery images. This is now handled by core. See #40

This commit is contained in:
Caroline Moore 2018-03-15 13:26:39 -04:00
parent 8f4530b9de
commit 36dc0333e6

View file

@ -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');