Completed
Pull Request — trunk (#842)
by
unknown
03:07
created
includes/CMB2_Base.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -315,10 +315,10 @@
 block discarded – undo
315 315
 	 * which is callable. If so, it registers the callback, and if not,
316 316
 	 * converts the maybe-modified $val to a boolean for return.
317 317
 	 *
318
- 	 * The registered handlers will have a parameter name which matches the filter, except:
319
- 	 * - The 'cmb2_api' prefix will be removed
320
- 	 * - A '_cb' suffix will be added (to stay inline with other '*_cb' parameters).
321
- 	 *
318
+	 * The registered handlers will have a parameter name which matches the filter, except:
319
+	 * - The 'cmb2_api' prefix will be removed
320
+	 * - A '_cb' suffix will be added (to stay inline with other '*_cb' parameters).
321
+	 *
322 322
 	 * @since  2.2.3
323 323
 	 *
324 324
 	 * @param  string $hook_name     The hook name.
Please login to merge, or discard this patch.
includes/CMB2.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -954,11 +954,11 @@
 block discarded – undo
954 954
 		}
955 955
 
956 956
 		if ( $pagenow === 'admin-ajax.php' && isset($_POST['action']) ) {
957
-		    switch ( $_POST['action'] ) {
957
+			 switch ( $_POST['action'] ) {
958 958
 			case 'add-tag':
959
-			    $type = 'term';
960
-			    break;
961
-		    }
959
+				 $type = 'term';
960
+				 break;
961
+			 }
962 962
 		}
963 963
 
964 964
 		return $type;
Please login to merge, or discard this patch.