Passed
Push — master ( 0f9edb...599c71 )
by Kiran
12:27 queued 07:01
created
includes/admin/class-getpaid-admin-profile.php 1 patch
Braces   +5 added lines, -2 removed lines patch added patch discarded remove patch
@@ -138,8 +138,11 @@
 block discarded – undo
138 138
 									</select>
139 139
 								<?php elseif ( ! empty( $field['type'] ) && 'checkbox' === $field['type'] ) : ?>
140 140
 									<input type="checkbox" name="<?php echo esc_attr( $key ); ?>" id="<?php echo esc_attr( $key ); ?>" value="1" class="<?php echo esc_attr( $field['class'] ); ?>" <?php checked( (int) $value, 1, true ); ?> />
141
-								<?php else : ?>
142
-									<input type="text" name="<?php echo esc_attr( $key ); ?>" id="<?php echo esc_attr( $key ); ?>" value="<?php echo esc_attr( $value ); ?>" class="<?php echo ( ! empty( $field['class'] ) ? esc_attr( $field['class'] ) : 'regular-text' ); ?>" />
141
+								<?php else {
142
+    : ?>
143
+									<input type="text" name="<?php echo esc_attr( $key );
144
+}
145
+?>" id="<?php echo esc_attr( $key ); ?>" value="<?php echo esc_attr( $value ); ?>" class="<?php echo ( ! empty( $field['class'] ) ? esc_attr( $field['class'] ) : 'regular-text' ); ?>" />
143 146
 								<?php endif; ?>
144 147
 								<p class="description"><?php echo wp_kses_post( $field['description'] ); ?></p>
145 148
 							</td>
Please login to merge, or discard this patch.
vendor/ayecode/wp-super-duper/wp-super-duper.php 1 patch
Braces   +42 added lines, -44 removed lines patch added patch discarded remove patch
@@ -60,7 +60,7 @@  discard block
 block discarded – undo
60 60
 			if(!empty($this->options['nested-block'])){
61 61
 				if(empty($this->options['output_types'])){
62 62
 					$this->options['output_types'] = array('shortcode','block');
63
-				}elseif (($key = array_search('widget', $this->options['output_types'])) !== false) {
63
+				} elseif (($key = array_search('widget', $this->options['output_types'])) !== false) {
64 64
 					unset($this->options['output_types'][$key]);
65 65
 				}
66 66
 			}
@@ -715,7 +715,7 @@  discard block
 block discarded – undo
715 715
 				<?php
716 716
 				if(! empty( $insert_shortcode_function )){
717 717
 					echo $insert_shortcode_function;
718
-				}else{
718
+				} else{
719 719
 
720 720
 				/**
721 721
 				 * Function for super duper insert shortcode.
@@ -2231,7 +2231,7 @@  discard block
 block discarded – undo
2231 2231
 				$p_pl = 'ps-';
2232 2232
 				$p_pr = 'pe-';
2233 2233
 					<?php
2234
-				}else{
2234
+				} else{
2235 2235
 						?>
2236 2236
 				$aui_bs5 = false;
2237 2237
 				$p_ml = 'ml-';
@@ -2459,7 +2459,7 @@  discard block
 block discarded – undo
2459 2459
 					var InnerBlocks = blockEditor.InnerBlocks;
2460 2460
 
2461 2461
 					var term_query_type = '';
2462
-					var post_type_rest_slugs = <?php if(! empty( $this->arguments ) && isset($this->arguments['post_type']['onchange_rest']['values'])){echo "[".json_encode($this->arguments['post_type']['onchange_rest']['values'])."]";}else{echo "[]";} ?>;
2462
+					var post_type_rest_slugs = <?php if(! empty( $this->arguments ) && isset($this->arguments['post_type']['onchange_rest']['values'])){echo "[".json_encode($this->arguments['post_type']['onchange_rest']['values'])."]";} else{echo "[]";} ?>;
2463 2463
 					const taxonomies_<?php echo str_replace("-","_", $this->id);?> = [{label: "Please wait", value: 0}];
2464 2464
 					const sort_by_<?php echo str_replace("-","_", $this->id);?> = [{label: "Please wait", value: 0}];
2465 2465
 					const MediaUpload = wp.blockEditor.MediaUpload;
@@ -2516,9 +2516,9 @@  discard block
 block discarded – undo
2516 2516
 						$example_inner_blocks = !empty($this->options['example']['innerBlocks']) && is_array($this->options['example']['innerBlocks']) ? 'innerBlocks: ' . wp_json_encode($this->options['example']['innerBlocks']) : '';
2517 2517
 						if( isset( $this->options['example'] ) && $this->options['example'] === false ){
2518 2518
 							// no preview if set to false
2519
-						}elseif( !empty( $example_args ) ){
2519
+						} elseif( !empty( $example_args ) ){
2520 2520
 							echo "example : {attributes:{".$this->array_to_attributes( $example_args )."},$viewport_width},";
2521
-						}elseif( !empty( $this->options['example'] ) ){
2521
+						} elseif( !empty( $this->options['example'] ) ){
2522 2522
 							unset($this->options['example']['viewportWidth']);
2523 2523
 							unset($this->options['example']['innerBlocks']);
2524 2524
 							$example_atts = $this->array_to_attributes( $this->options['example'] );
@@ -2535,7 +2535,7 @@  discard block
 block discarded – undo
2535 2535
 							if(!empty($example_parts)){
2536 2536
 								echo "example : {".implode(',', $example_parts)."},";
2537 2537
 							}
2538
-						}else{
2538
+						} else{
2539 2539
 							echo 'example : {viewportWidth: 500},';
2540 2540
 						}
2541 2541
 
@@ -2606,8 +2606,7 @@  discard block
 block discarded – undo
2606 2606
 
2607 2607
 									if ( $args['type'] == 'notice' ||  $args['type'] == 'tab' ) {
2608 2608
 										continue;
2609
-									}
2610
-									elseif ( $args['type'] == 'checkbox' ) {
2609
+									} elseif ( $args['type'] == 'checkbox' ) {
2611 2610
 										$type    = 'boolean';
2612 2611
 										$default = isset( $args['default'] ) && $args['default'] ? 'true' : 'false';
2613 2612
 									} elseif ( $args['type'] == 'number' ) {
@@ -2742,7 +2741,7 @@  discard block
 block discarded – undo
2742 2741
 							<?php
2743 2742
 							if(!empty($this->options['block-edit-raw'])) {
2744 2743
 								echo $this->options['block-edit-raw']; // strings have to be in single quotes, may cause issues
2745
-							}else{
2744
+							} else{
2746 2745
 							?>
2747 2746
 
2748 2747
 function hasSelectedInnerBlock(props) {
@@ -2877,7 +2876,7 @@  discard block
 block discarded – undo
2877 2876
 $current_screen = function_exists('get_current_screen') ? get_current_screen() : '';
2878 2877
 if(!empty($current_screen->base) && $current_screen->base==='widgets'){
2879 2878
 	echo 'const { deviceType } = "";';
2880
-}else{
2879
+} else{
2881 2880
 ?>
2882 2881
 /** Get device type const. */
2883 2882
 const { deviceType } = wp.data.useSelect != 'undefined' ?  wp.data.useSelect(select => {
@@ -2912,7 +2911,7 @@  discard block
 block discarded – undo
2912 2911
 										'block_parent_name': parentBlocks.length ? parentBlocks[parentBlocks.length - 1].name : '',
2913 2912
 										'post_id': <?php global $post; if ( isset( $post->ID ) ) {
2914 2913
 										echo $post->ID;
2915
-									}else{echo '0';}?>,
2914
+									} else{echo '0';}?>,
2916 2915
 										'_ajax_nonce': '<?php echo wp_create_nonce( 'super_duper_output_shortcode' );?>'
2917 2916
 									};
2918 2917
 
@@ -2932,7 +2931,7 @@  discard block
 block discarded – undo
2932 2931
 										is_fetching = false;
2933 2932
 										prev_attributes[props.clientId] = props.attributes;
2934 2933
 											 <?php
2935
-										}else{
2934
+										} else{
2936 2935
 										?>
2937 2936
 										props.setAttributes({content: env});
2938 2937
 										is_fetching = false;
@@ -3139,7 +3138,7 @@  discard block
 block discarded – undo
3139 3138
 //
3140 3139
 
3141 3140
 									}
3142
-									}else {
3141
+									} else {
3143 3142
 									?>
3144 3143
 									el(wp.components.PanelBody, {
3145 3144
 											title: '<?php esc_attr_e( "Settings", 'ayecode-connect' ); ?>',
@@ -3165,9 +3164,9 @@  discard block
 block discarded – undo
3165 3164
 								// If the user sets block-output array then build it
3166 3165
 								if ( ! empty( $this->options['block-output'] ) ) {
3167 3166
 								$this->block_element( $this->options['block-output'] );
3168
-							}elseif(!empty($this->options['block-edit-return'])){
3167
+							} elseif(!empty($this->options['block-edit-return'])){
3169 3168
 								   echo $this->options['block-edit-return'];
3170
-							}else{
3169
+							} else{
3171 3170
 								// if no block-output is set then we try and get the shortcode html output via ajax.
3172 3171
 								$block_edit_wrap_tag = !empty($this->options['block_edit_wrap_tag']) ? esc_attr($this->options['block_edit_wrap_tag']) : 'div';
3173 3172
 								?>
@@ -3279,9 +3278,9 @@  discard block
 block discarded – undo
3279 3278
 							   );
3280 3279
 								<?php
3281 3280
 
3282
-							}elseif(!empty($this->options['block-save-return'])){
3281
+							} elseif(!empty($this->options['block-save-return'])){
3283 3282
 								   echo 'return ' . $this->options['block-save-return'];
3284
-							}elseif(!empty($this->options['nested-block'])){
3283
+							} elseif(!empty($this->options['nested-block'])){
3285 3284
 								?>
3286 3285
 							  return el(
3287 3286
 								   '',
@@ -3291,13 +3290,13 @@  discard block
 block discarded – undo
3291 3290
 								 //  el('', {dangerouslySetInnerHTML: {__html: "[/<?php echo $this->options['base_id'];?>]"}})
3292 3291
 							   );
3293 3292
 								<?php
3294
-							}elseif(!empty( $this->options['block-save-return'] ) ){
3293
+							} elseif(!empty( $this->options['block-save-return'] ) ){
3295 3294
 								echo "return ". $this->options['block-edit-return'].";";
3296
-							}elseif(isset( $this->options['block-wrap'] ) && $this->options['block-wrap'] == ''){
3295
+							} elseif(isset( $this->options['block-wrap'] ) && $this->options['block-wrap'] == ''){
3297 3296
 							?>
3298 3297
 							return content;
3299 3298
 							<?php
3300
-							}else{
3299
+							} else{
3301 3300
 							?>
3302 3301
 							var block_wrap = 'div';
3303 3302
 							if (attr.hasOwnProperty("block_wrap")) {
@@ -3348,9 +3347,9 @@  discard block
 block discarded – undo
3348 3347
 				$device_type_icon = '';
3349 3348
 				if($device_type=='Desktop'){
3350 3349
 					$device_type_icon = '<span class="dashicons dashicons-desktop" style="font-size: 18px;" onclick="sd_show_view_options(this);"></span>';
3351
-				}elseif($device_type=='Tablet'){
3350
+				} elseif($device_type=='Tablet'){
3352 3351
 					$device_type_icon = '<span class="dashicons dashicons-tablet" style="font-size: 18px;" onclick="sd_show_view_options(this);"></span>';
3353
-				}elseif($device_type=='Mobile'){
3352
+				} elseif($device_type=='Mobile'){
3354 3353
 					$device_type_icon = '<span class="dashicons dashicons-smartphone" style="font-size: 18px;" onclick="sd_show_view_options(this);"></span>';
3355 3354
 				}
3356 3355
 				echo $element_require;
@@ -3395,7 +3394,7 @@  discard block
 block discarded – undo
3395 3394
 
3396 3395
 					<?php
3397 3396
 					if(false){?></script><?php }
3398
-				}elseif(!empty($args['row']['close'])){
3397
+				} elseif(!empty($args['row']['close'])){
3399 3398
 					if(false){?><script><?php }?>
3400 3399
 						el(
3401 3400
 							'div',
@@ -3404,7 +3403,7 @@  discard block
 block discarded – undo
3404 3403
 							},
3405 3404
 					<?php
3406 3405
 					if(false){?></script><?php }
3407
-				}else{
3406
+				} else{
3408 3407
 					if(false){?><script><?php }?>
3409 3408
 						el(
3410 3409
 							'div',
@@ -3509,9 +3508,9 @@  discard block
 block discarded – undo
3509 3508
 			$device_type_icon = '';
3510 3509
 			if($device_type=='Desktop'){
3511 3510
 				$device_type_icon = '<span class="dashicons dashicons-desktop" style="font-size: 18px;" onclick="sd_show_view_options(this);"></span>';
3512
-			}elseif($device_type=='Tablet'){
3511
+			} elseif($device_type=='Tablet'){
3513 3512
 				$device_type_icon = '<span class="dashicons dashicons-tablet" style="font-size: 18px;" onclick="sd_show_view_options(this);"></span>';
3514
-			}elseif($device_type=='Mobile'){
3513
+			} elseif($device_type=='Mobile'){
3515 3514
 				$device_type_icon = '<span class="dashicons dashicons-smartphone" style="font-size: 18px;" onclick="sd_show_view_options(this);"></span>';
3516 3515
 			}
3517 3516
 
@@ -3574,7 +3573,7 @@  discard block
 block discarded – undo
3574 3573
 				$args['type'] == 'text';
3575 3574
 				// Save numbers as numbers and not strings
3576 3575
 				$value     = "props.attributes.$key ? props.attributes.$key : ''";
3577
-			}else if ( $args['type'] == 'notice' ) {
3576
+			} else if ( $args['type'] == 'notice' ) {
3578 3577
 
3579 3578
 				$notice_message = !empty($args['desc']) ? addslashes($args['desc']) : '';
3580 3579
 				$notice_status = !empty($args['status']) ? esc_attr($args['status']) : 'info';
@@ -3649,7 +3648,7 @@  discard block
 block discarded – undo
3649 3648
 							$key: value
3650 3649
 						});
3651 3650
 					},";
3652
-			}elseif ( $args['type'] == 'gradient' ) {
3651
+			} elseif ( $args['type'] == 'gradient' ) {
3653 3652
 				$type = 'GradientPicker';
3654 3653
 				$extra .= "gradients: [{
3655 3654
 			name: 'Vivid cyan blue to vivid purple',
@@ -3688,7 +3687,7 @@  discard block
 block discarded – undo
3688 3687
 			slug: 'cool-to-warm-spectrum',
3689 3688
 		}],";
3690 3689
 
3691
-			}elseif ( $args['type'] == 'image' ) {
3690
+			} elseif ( $args['type'] == 'image' ) {
3692 3691
 //                print_r($args);
3693 3692
 
3694 3693
 				$img_preview = isset($args['focalpoint']) && !$args['focalpoint'] ? " props.attributes.$key && el('img', { src: props.attributes.$key,style: {maxWidth:'100%',background: '#ccc'}})," : " ( props.attributes.$key ||  props.attributes.{$key}_use_featured ) && el(wp.components.FocalPointPicker,{
@@ -3825,8 +3824,7 @@  discard block
 block discarded – undo
3825 3824
 				$onchange = "";
3826 3825
 
3827 3826
 				//$inside_elements = ",el('div',{},'file upload')";
3828
-			}
3829
-			elseif ( $args['type'] == 'checkbox' ) {
3827
+			} elseif ( $args['type'] == 'checkbox' ) {
3830 3828
 				$type = 'CheckboxControl';
3831 3829
 				$extra .= "checked: props.attributes.$key,";
3832 3830
 				$onchange = "props.setAttributes({ $key: ! props.attributes.$key } )";
@@ -3838,9 +3836,9 @@  discard block
 block discarded – undo
3838 3836
 
3839 3837
 				if($args['name'] == 'category' && !empty($args['post_type_linked'])){
3840 3838
 					$options .= "options: taxonomies_".str_replace("-","_", $this->id).",";
3841
-				}elseif($args['name'] == 'sort_by' && !empty($args['post_type_linked'])){
3839
+				} elseif($args['name'] == 'sort_by' && !empty($args['post_type_linked'])){
3842 3840
 					$options .= "options: sort_by_".str_replace("-","_", $this->id).",";
3843
-				}else {
3841
+				} else {
3844 3842
 
3845 3843
 					if ( ! empty( $args['options'] ) ) {
3846 3844
 						$options .= "options: [";
@@ -4004,7 +4002,7 @@  discard block
 block discarded – undo
4004 4002
 				foreach ( $custom_attributes as $key => $val ) {
4005 4003
 					if(is_array($val)){
4006 4004
 						$attributes .= $key.': {'.$this->array_to_attributes( $val, $html ).'},';
4007
-					}else{
4005
+					} else{
4008 4006
 						$attributes .= $html ?  " $key='$val' " : "'$key': '$val',";
4009 4007
 					}
4010 4008
 				}
@@ -4045,7 +4043,7 @@  discard block
 block discarded – undo
4045 4043
 
4046 4044
 							if($new_args['element']=='InnerBlocks'){
4047 4045
 								echo "\n el( InnerBlocks, {";
4048
-							}elseif($new_args['element']=='innerBlocksProps'){
4046
+							} elseif($new_args['element']=='innerBlocksProps'){
4049 4047
 								$element = isset($new_args['inner_element']) ? esc_attr($new_args['inner_element']) : 'div';
4050 4048
 							  //  echo "\n el( 'section', wp.blockEditor.useInnerBlocksProps( blockProps, {";
4051 4049
 //                                echo $save ? "\n el( '$element', wp.blockEditor.useInnerBlocksProps.save( " : "\n el( '$element', wp.blockEditor.useInnerBlocksProps( ";
@@ -4058,11 +4056,11 @@  discard block
 block discarded – undo
4058 4056
 							//    echo '###';
4059 4057
 
4060 4058
 							  //  echo '###';
4061
-							}elseif($new_args['element']=='BlocksProps'){
4059
+							} elseif($new_args['element']=='BlocksProps'){
4062 4060
 
4063 4061
 								if ( isset($new_args['if_inner_element']) ) {
4064 4062
 									$element = $new_args['if_inner_element'];
4065
-								}else {
4063
+								} else {
4066 4064
 									$element = isset($new_args['inner_element']) ? "'".esc_attr($new_args['inner_element'])."'" : "'div'";
4067 4065
 								}
4068 4066
 
@@ -4073,7 +4071,7 @@  discard block
 block discarded – undo
4073 4071
 
4074 4072
 							   // echo "} ),";
4075 4073
 
4076
-							}else{
4074
+							} else{
4077 4075
 								echo "\n el( '" . $new_args['element'] . "', {";
4078 4076
 							}
4079 4077
 
@@ -4098,7 +4096,7 @@  discard block
 block discarded – undo
4098 4096
 
4099 4097
 									if ( $new_key === 'content' ) {
4100 4098
 										echo "'" . $this->block_props_replace( wp_slash( $new_value ) ) . "'";
4101
-									}else if ( $new_key === 'if_content' ) {
4099
+									} else if ( $new_key === 'if_content' ) {
4102 4100
 										echo  $this->block_props_replace(  $new_value  );
4103 4101
 									}
4104 4102
 
@@ -4128,7 +4126,7 @@  discard block
 block discarded – undo
4128 4126
 
4129 4127
 							if($new_args['element']=='innerBlocksProps' || $new_args['element']=='xBlocksProps'){
4130 4128
 								echo "))";// end content
4131
-							}else{
4129
+							} else{
4132 4130
 								echo ")";// end content
4133 4131
 							}
4134 4132
 
@@ -4752,11 +4750,11 @@  discard block
 block discarded – undo
4752 4750
 		public function get_widget_icon($icon = 'box-top', $title = ''){
4753 4751
 			if($icon=='box-top'){
4754 4752
 				return '<svg title="'.esc_attr($title).'" width="20px" height="20px" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg" fill-rule="evenodd" clip-rule="evenodd" stroke-linejoin="round" stroke-miterlimit="1.414" role="img" aria-hidden="true" focusable="false"><rect x="2.714" y="5.492" width="1.048" height="9.017" fill="#555D66"></rect><rect x="16.265" y="5.498" width="1.023" height="9.003" fill="#555D66"></rect><rect x="5.518" y="2.186" width="8.964" height="2.482" fill="#272B2F"></rect><rect x="5.487" y="16.261" width="9.026" height="1.037" fill="#555D66"></rect></svg>';
4755
-			}elseif($icon=='box-right'){
4753
+			} elseif($icon=='box-right'){
4756 4754
 				return '<svg title="'.esc_attr($title).'" width="20px" height="20px" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg" fill-rule="evenodd" clip-rule="evenodd" stroke-linejoin="round" stroke-miterlimit="1.414" role="img" aria-hidden="true" focusable="false"><rect x="2.714" y="5.492" width="1.046" height="9.017" fill="#555D66"></rect><rect x="15.244" y="5.498" width="2.518" height="9.003" fill="#272B2F"></rect><rect x="5.518" y="2.719" width="8.964" height="0.954" fill="#555D66"></rect><rect x="5.487" y="16.308" width="9.026" height="0.99" fill="#555D66"></rect></svg>';
4757
-			}elseif($icon=='box-bottom'){
4755
+			} elseif($icon=='box-bottom'){
4758 4756
 				return '<svg title="'.esc_attr($title).'" width="20px" height="20px" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg" fill-rule="evenodd" clip-rule="evenodd" stroke-linejoin="round" stroke-miterlimit="1.414" role="img" aria-hidden="true" focusable="false"><rect x="2.714" y="5.492" width="1" height="9.017" fill="#555D66"></rect><rect x="16.261" y="5.498" width="1.027" height="9.003" fill="#555D66"></rect><rect x="5.518" y="2.719" width="8.964" height="0.968" fill="#555D66"></rect><rect x="5.487" y="15.28" width="9.026" height="2.499" fill="#272B2F"></rect></svg>';
4759
-			}elseif($icon=='box-left'){
4757
+			} elseif($icon=='box-left'){
4760 4758
 				return '<svg title="'.esc_attr($title).'" width="20px" height="20px" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg" fill-rule="evenodd" clip-rule="evenodd" stroke-linejoin="round" stroke-miterlimit="1.414" role="img" aria-hidden="true" focusable="false"><rect x="2.202" y="5.492" width="2.503" height="9.017" fill="#272B2F"></rect><rect x="16.276" y="5.498" width="1.012" height="9.003" fill="#555D66"></rect><rect x="5.518" y="2.719" width="8.964" height="0.966" fill="#555D66"></rect><rect x="5.487" y="16.303" width="9.026" height="0.995" fill="#555D66"></rect></svg>';
4761 4759
 			}
4762 4760
 		}
Please login to merge, or discard this patch.
vendor/ayecode/wp-super-duper/sd-functions.php 1 patch
Braces   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -3723,7 +3723,7 @@
 block discarded – undo
3723 3723
 
3724 3724
 			$block_content = do_shortcode($block_content);
3725 3725
 
3726
-		}elseif(! empty($parsed_block['attrs']['sd_shortcode'])){
3726
+		} elseif(! empty($parsed_block['attrs']['sd_shortcode'])){
3727 3727
 			$has_warp = false;
3728 3728
 			if($block_content && strpos(trim($block_content), '<div class="wp-block-') === 0 ){
3729 3729
 				$parts = explode('></', $block_content);
Please login to merge, or discard this patch.
includes/admin/meta-boxes/class-getpaid-meta-box-item-details.php 1 patch
Braces   +25 added lines, -10 removed lines patch added patch discarded remove patch
@@ -57,9 +57,12 @@  discard block
 block discarded – undo
57 57
                                         <div class="input-group-prepend">
58 58
                                             <span class="input-group-text"><?php echo wp_kses_post( wpinv_currency_symbol() ); ?></span>
59 59
                                         </div>
60
-                                    <?php else : ?>
60
+                                    <?php else {
61
+    : ?>
61 62
                                         <span class="input-group-text">
62
-                                            <?php echo wp_kses_post( wpinv_currency_symbol() ); ?>
63
+                                            <?php echo wp_kses_post( wpinv_currency_symbol() );
64
+}
65
+?>
63 66
                                         </span>
64 67
                                     <?php endif; ?>
65 68
                                 <?php endif; ?>
@@ -71,9 +74,12 @@  discard block
 block discarded – undo
71 74
                                         <div class="input-group-append">
72 75
                                             <span class="input-group-text"><?php echo wp_kses_post( wpinv_currency_symbol() ); ?></span>
73 76
                                         </div>
74
-                                    <?php else : ?>
77
+                                    <?php else {
78
+    : ?>
75 79
                                         <span class="input-group-text">
76
-                                            <?php echo wp_kses_post( wpinv_currency_symbol() ); ?>
80
+                                            <?php echo wp_kses_post( wpinv_currency_symbol() );
81
+}
82
+?>
77 83
                                         </span>
78 84
                                     <?php endif; ?>
79 85
                                 <?php endif; ?>
@@ -83,8 +89,11 @@  discard block
 block discarded – undo
83 89
                             <div class="mb-3 input-group input-group-sm">
84 90
                                 <?php if ( empty( $aui_bs5 ) ) : ?>
85 91
                                     <div class="input-group-prepend"><span class="input-group-text pl-0 pr-2 border-0 bg-transparent"><?php esc_html_e( 'every' ); ?></span></div>
86
-                                <?php else : ?>
87
-                                    <span class="input-group-text ps-0 pe-2 border-0"><?php esc_html_e( 'every' ); ?></span>
92
+                                <?php else {
93
+    : ?>
94
+                                    <span class="input-group-text ps-0 pe-2 border-0"><?php esc_html_e( 'every' );
95
+}
96
+?></span>
88 97
                                 <?php endif; ?>
89 98
                                 <input type="number" name="wpinv_recurring_interval" id="wpinv_recurring_interval" value="<?php echo esc_attr( $item->get_recurring_interval( 'edit' ) ); ?>" placeholder="1" class="form-control rounded-1 rounded-sm">
90 99
                             </div>
@@ -185,9 +194,12 @@  discard block
 block discarded – undo
185 194
                                         <div class="input-group-prepend">
186 195
                                             <span class="input-group-text"><?php echo wp_kses_post( wpinv_currency_symbol() ); ?></span>
187 196
                                         </div>
188
-                                    <?php else : ?>
197
+                                    <?php else {
198
+    : ?>
189 199
                                         <span class="input-group-text">
190
-                                            <?php echo wp_kses_post( wpinv_currency_symbol() ); ?>
200
+                                            <?php echo wp_kses_post( wpinv_currency_symbol() );
201
+}
202
+?>
191 203
                                         </span>
192 204
                                     <?php endif; ?>
193 205
                                 <?php endif; ?>
@@ -199,9 +211,12 @@  discard block
 block discarded – undo
199 211
                                         <div class="input-group-append">
200 212
                                             <span class="input-group-text"><?php echo wp_kses_post( wpinv_currency_symbol() ); ?></span>
201 213
                                         </div>
202
-                                    <?php else : ?>
214
+                                    <?php else {
215
+    : ?>
203 216
                                         <span class="input-group-text">
204
-                                            <?php echo wp_kses_post( wpinv_currency_symbol() ); ?>
217
+                                            <?php echo wp_kses_post( wpinv_currency_symbol() );
218
+}
219
+?>
205 220
                                         </span>
206 221
                                     <?php endif; ?>
207 222
                                 <?php endif; ?>
Please login to merge, or discard this patch.