File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -8,16 +8,15 @@ function __construct() {
88 add_action ( 'admin_init ' , array ( $ this , 'admin_init ' ) );
99 }
1010
11- function admin_init ()
12- {
11+ function admin_init () {
1312 /**
1413 * Filter the available gallery types.
1514 *
1615 * @since 2.5.1
1716 *
18- * @param array $value Array of the default thumbnail grid gallery type. Default array contains one key, ‘default’
17+ * @param array $value Array of the default thumbnail grid gallery type. Default array contains one key, ‘default’.
1918 *
20- */
19+ */
2120 $ this ->gallery_types = apply_filters ( 'jetpack_gallery_types ' , array ( 'default ' => __ ( 'Thumbnail Grid ' , 'jetpack ' ) ) );
2221
2322 // Enqueue the media UI only if needed.
@@ -41,20 +40,19 @@ function wp_enqueue_media() {
4140
4241 wp_enqueue_script ( 'jetpack-gallery-settings ' );
4342 }
44-
45- /**
46- * Outputs a view template which can be used with wp.media.template
47- */
48-
43+
44+ /**
45+ * Outputs a view template which can be used with wp.media.template
46+ */
4947 function print_media_templates () {
5048 /**
5149 * Filter the default gallery type.
5250 *
5351 * @since 2.5.1
5452 *
55- * @param string $value A string of the gallery type. Default is ‘default’
53+ * @param string $value A string of the gallery type. Default is ‘default’.
5654 *
57- */
55+ */
5856 $ default_gallery_type = apply_filters ( 'jetpack_default_gallery_type ' , 'default ' );
5957
6058 ?>
You can’t perform that action at this time.
0 commit comments