ソースを参照

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

Caroline Moore 7 年 前
コミット
36dc0333e6
1 ファイル変更0 行追加8 行削除
  1. 0 8
      publication/inc/jetpack.php

+ 0 - 8
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');