Completed
Push — master ( 4fba21...48ea7a )
by Dwain
07:35
created
includes/class-sensei-settings-api.php 1 patch
Braces   +7 added lines, -3 removed lines patch added patch discarded remove patch
@@ -1,5 +1,8 @@  discard block
 block discarded – undo
1 1
 <?php
2
-if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
2
+if ( ! defined( 'ABSPATH' ) ) {
3
+	exit;
4
+}
5
+// Exit if accessed directly
3 6
 
4 7
 /**
5 8
  * A settings API (wrapping the WordPress Settings API).
@@ -315,8 +318,9 @@  discard block
 block discarded – undo
315 318
 
316 319
             echo '<section id="' . $section_id . '">';
317 320
 
318
-            if ($section['name'])
319
-                echo "<h2>{$section['name']}</h2>\n";
321
+            if ($section['name']) {
322
+                            echo "<h2>{$section['name']}</h2>\n";
323
+            }
320 324
 
321 325
             echo '<table class="form-table">';
322 326
             do_settings_fields($page, $section_id );
Please login to merge, or discard this patch.