Completed
Pull Request — master (#605)
by Zack
08:59 queued 03:39
created
templates/fields/textarea.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -18,7 +18,7 @@
 block discarded – undo
18 18
 }
19 19
 
20 20
 if( !empty( $field_settings['make_clickable'] ) ) {
21
-    $value = make_clickable( $value );
21
+	$value = make_clickable( $value );
22 22
 }
23 23
 
24 24
 if( ! empty( $field_settings['new_window'] ) ) {
Please login to merge, or discard this patch.
templates/table-header.php 1 patch
Indentation   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -1,12 +1,12 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * Display above the entries loop when using a table layout
4
- *
5
- * @package GravityView
6
- * @subpackage GravityView/templates
7
- *
8
- * @global GravityView_View $this
9
- */
3
+			 * Display above the entries loop when using a table layout
4
+			 *
5
+			 * @package GravityView
6
+			 * @subpackage GravityView/templates
7
+			 *
8
+			 * @global GravityView_View $this
9
+			 */
10 10
 ?>
11 11
 <?php gravityview_before(); ?>
12 12
 <div class="<?php gv_container_class('gv-table-container'); ?>">
Please login to merge, or discard this patch.
templates/table-single.php 1 patch
Indentation   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -1,12 +1,12 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * Display a single entry when using a table template
4
- *
5
- * @package GravityView
6
- * @subpackage GravityView/templates
7
- *
8
- * @global GravityView_View $this
9
- */
3
+			 * Display a single entry when using a table template
4
+			 *
5
+			 * @package GravityView
6
+			 * @subpackage GravityView/templates
7
+			 *
8
+			 * @global GravityView_View $this
9
+			 */
10 10
 ?>
11 11
 <?php gravityview_before(); ?>
12 12
 
Please login to merge, or discard this patch.
includes/admin/field-types/type_number.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -28,10 +28,10 @@
 block discarded – undo
28 28
 
29 29
 		$show_mt = $this->show_merge_tags();
30 30
 
31
-        if( $show_mt && $this->field['merge_tags'] !== false || $this->field['merge_tags'] === 'force' ) {
32
-            $class = 'merge-tag-support mt-position-right mt-hide_all_fields ';
33
-        }
34
-        $class .= !empty( $this->field['class'] ) ? $this->field['class'] : 'widefat';
31
+		if( $show_mt && $this->field['merge_tags'] !== false || $this->field['merge_tags'] === 'force' ) {
32
+			$class = 'merge-tag-support mt-position-right mt-hide_all_fields ';
33
+		}
34
+		$class .= !empty( $this->field['class'] ) ? $this->field['class'] : 'widefat';
35 35
 
36 36
 		?>
37 37
 		<input name="<?php echo esc_attr( $this->name ); ?>" id="<?php echo $this->get_field_id(); ?>" type="text" value="<?php echo esc_attr( $this->value ); ?>" class="<?php echo esc_attr( $class ); ?>">
Please login to merge, or discard this patch.
includes/class-oembed.php 1 patch
Indentation   +9 added lines, -9 removed lines patch added patch discarded remove patch
@@ -1,14 +1,14 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * GravityView oEmbed handling
4
- *
5
- * @package   GravityView
6
- * @license   GPL2+
7
- * @author    Katz Web Services, Inc.
8
- * @link      http://gravityview.co
9
- * @copyright Copyright 2014, Katz Web Services, Inc.
10
- * @since 1.6
11
- */
3
+	 * GravityView oEmbed handling
4
+	 *
5
+	 * @package   GravityView
6
+	 * @license   GPL2+
7
+	 * @author    Katz Web Services, Inc.
8
+	 * @link      http://gravityview.co
9
+	 * @copyright Copyright 2014, Katz Web Services, Inc.
10
+	 * @since 1.6
11
+	 */
12 12
 
13 13
 if ( ! defined( 'ABSPATH' ) ) {
14 14
 	die;
Please login to merge, or discard this patch.
includes/wordpress-widgets/class-gravityview-recent-entries-widget.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -184,8 +184,8 @@
 block discarded – undo
184 184
 		// Get the settings for the View ID
185 185
 		$view_settings = gravityview_get_template_settings( $instance['view_id'] );
186 186
 
187
-        // Set the context view ID to avoid conflicts with the Advanced Filter extension.
188
-        $criteria['context_view_id'] = $instance['view_id'];
187
+		// Set the context view ID to avoid conflicts with the Advanced Filter extension.
188
+		$criteria['context_view_id'] = $instance['view_id'];
189 189
 
190 190
 		$instance['limit'] = isset( $instance['limit'] ) ? $instance['limit'] : 10;
191 191
 		$view_settings['id'] = $instance['view_id'];
Please login to merge, or discard this patch.
includes/widgets/search-widget/templates/widget-search.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -1,9 +1,9 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * Display the Search widget
4
- *
5
- * @see class-search-widget.php
6
- */
3
+			 * Display the Search widget
4
+			 *
5
+			 * @see class-search-widget.php
6
+			 */
7 7
 
8 8
 $gravityview_view = GravityView_View::getInstance();
9 9
 
Please login to merge, or discard this patch.
templates/fields/other_entries.php 1 patch
Indentation   +10 added lines, -10 removed lines patch added patch discarded remove patch
@@ -26,19 +26,19 @@  discard block
 block discarded – undo
26 26
 
27 27
 // Prepare paging criteria
28 28
 $criteria['paging'] = array(
29
-    'offset' => 0,
30
-    'page_size' => $view_settings['page_size']
29
+	'offset' => 0,
30
+	'page_size' => $view_settings['page_size']
31 31
 );
32 32
 
33 33
 // Prepare Search Criteria
34 34
 $criteria['search_criteria'] = array(
35
-    'field_filters' => array(
36
-        array(
37
-            'key' => 'created_by',
38
-            'value' => $created_by,
39
-            'operator' => 'is'
40
-        )
41
-    )
35
+	'field_filters' => array(
36
+		array(
37
+			'key' => 'created_by',
38
+			'value' => $created_by,
39
+			'operator' => 'is'
40
+		)
41
+	)
42 42
 );
43 43
 $criteria['search_criteria'] = GravityView_frontend::process_search_only_approved( $view_settings, $criteria['search_criteria'] );
44 44
 $criteria['search_criteria']['status'] = apply_filters( 'gravityview_status', 'active', $view_settings );
@@ -80,5 +80,5 @@  discard block
 block discarded – undo
80 80
  */
81 81
 $deprecated = apply_filters( 'gravityview/field/other_entries/args', array(), $field );
82 82
 if ( !empty( $deprecated ) ) {
83
-    _deprecated_function(  'The "gravityview/field/other_entries/args" filter', 'GravityView 1.11', 'gravityview/field/other_entries/criteria' );
83
+	_deprecated_function(  'The "gravityview/field/other_entries/args" filter', 'GravityView 1.11', 'gravityview/field/other_entries/criteria' );
84 84
 }
Please login to merge, or discard this patch.
templates/fields/number.php 1 patch
Indentation   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -1,12 +1,12 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * Display the number field type
4
- *
5
- * @since 1.13
6
- *
7
- * @package GravityView
8
- * @subpackage GravityView/templates/fields
9
- */
3
+	 * Display the number field type
4
+	 *
5
+	 * @since 1.13
6
+	 *
7
+	 * @package GravityView
8
+	 * @subpackage GravityView/templates/fields
9
+	 */
10 10
 
11 11
 $gravityview_view = GravityView_View::getInstance();
12 12
 
Please login to merge, or discard this patch.