Passed
Push — master ( 868a3b...e38433 )
by Warwick
03:41
created
includes/post-types/config-special.php 1 patch
Indentation   +40 added lines, -40 removed lines patch added patch discarded remove patch
@@ -10,46 +10,46 @@
 block discarded – undo
10 10
  */
11 11
 
12 12
 $post_type = array(
13
-	'class'               => 'LSX_TO_Specials',
14
-	'menu_icon'           => 'dashicons-star-filled',
15
-	'labels'              => array(
16
-		'name'               => esc_html__( 'Specials', 'to-specials' ),
17
-		'singular_name'      => esc_html__( 'Activity', 'to-specials' ),
18
-		'add_new'            => esc_html__( 'Add New', 'to-specials' ),
19
-		'add_new_item'       => esc_html__( 'Add New Special', 'to-specials' ),
20
-		'edit_item'          => esc_html__( 'Edit Special', 'to-specials' ),
21
-		'new_item'           => esc_html__( 'New Specials', 'to-specials' ),
22
-		'all_items'          => esc_html__( 'Specials', 'to-specials' ),
23
-		'view_item'          => esc_html__( 'View Special', 'to-specials' ),
24
-		'search_items'       => esc_html__( 'Search Specials', 'to-specials' ),
25
-		'not_found'          => esc_html__( 'No specials found', 'to-specials' ),
26
-		'not_found_in_trash' => esc_html__( 'No specials found in Trash', 'to-specials' ),
27
-		'parent_item_colon'  => '',
28
-		'menu_name'          => esc_html__( 'Specials', 'to-specials' ),
29
-	),
30
-	'public'              => true,
31
-	'publicly_queryable'  => true,
32
-	'show_ui'             => true,
33
-	'show_in_menu'        => 'tour-operator',
34
-	'menu_position'       => 70,
35
-	'query_var'           => true,
36
-	'rewrite'             => array(
37
-		'slug'       => 'special',
38
-		'with_front' => false,
39
-	),
40
-	'exclude_from_search' => false,
41
-	'capability_type'     => 'post',
42
-	'has_archive'         => 'specials',
43
-	'hierarchical'        => false,
44
-	'show_in_rest'        => true,
45
-	'supports'            => array(
46
-		'title',
47
-		'slug',
48
-		'editor',
49
-		'thumbnail',
50
-		'excerpt',
51
-		'custom-fields',
52
-	),
13
+     'class'               => 'LSX_TO_Specials',
14
+     'menu_icon'           => 'dashicons-star-filled',
15
+     'labels'              => array(
16
+          'name'               => esc_html__( 'Specials', 'to-specials' ),
17
+          'singular_name'      => esc_html__( 'Activity', 'to-specials' ),
18
+          'add_new'            => esc_html__( 'Add New', 'to-specials' ),
19
+          'add_new_item'       => esc_html__( 'Add New Special', 'to-specials' ),
20
+          'edit_item'          => esc_html__( 'Edit Special', 'to-specials' ),
21
+          'new_item'           => esc_html__( 'New Specials', 'to-specials' ),
22
+          'all_items'          => esc_html__( 'Specials', 'to-specials' ),
23
+          'view_item'          => esc_html__( 'View Special', 'to-specials' ),
24
+          'search_items'       => esc_html__( 'Search Specials', 'to-specials' ),
25
+          'not_found'          => esc_html__( 'No specials found', 'to-specials' ),
26
+          'not_found_in_trash' => esc_html__( 'No specials found in Trash', 'to-specials' ),
27
+          'parent_item_colon'  => '',
28
+          'menu_name'          => esc_html__( 'Specials', 'to-specials' ),
29
+     ),
30
+     'public'              => true,
31
+     'publicly_queryable'  => true,
32
+     'show_ui'             => true,
33
+     'show_in_menu'        => 'tour-operator',
34
+     'menu_position'       => 70,
35
+     'query_var'           => true,
36
+     'rewrite'             => array(
37
+          'slug'       => 'special',
38
+          'with_front' => false,
39
+     ),
40
+     'exclude_from_search' => false,
41
+     'capability_type'     => 'post',
42
+     'has_archive'         => 'specials',
43
+     'hierarchical'        => false,
44
+     'show_in_rest'        => true,
45
+     'supports'            => array(
46
+          'title',
47
+          'slug',
48
+          'editor',
49
+          'thumbnail',
50
+          'excerpt',
51
+          'custom-fields',
52
+     ),
53 53
 );
54 54
 
55 55
 return $post_type;
Please login to merge, or discard this patch.