Skip to content

Commit fe88734

Browse files
committed
Gallery functions: fix a few indentation issues
1 parent 5abcd75 commit fe88734

1 file changed

Lines changed: 9 additions & 11 deletions

File tree

‎functions.gallery.php‎

Lines changed: 9 additions & 11 deletions
Original file line numberDiff line numberDiff 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
?>

0 commit comments

Comments
 (0)