Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 1 addition & 3 deletions inc/models/class-checkout-form.php
Original file line number Diff line number Diff line change
Expand Up @@ -729,12 +729,12 @@
'auto_generate_site_url' => true,
],
[
'step' => 'checkout',

Check warning on line 732 in inc/models/class-checkout-form.php

View workflow job for this annotation

GitHub Actions / Code Quality Checks

Array double arrow not aligned correctly; expected 24 space(s) between "'step'" and double arrow, but found 38.
'name' => __('Template Selection', 'ultimate-multisite'),

Check warning on line 733 in inc/models/class-checkout-form.php

View workflow job for this annotation

GitHub Actions / Code Quality Checks

Array double arrow not aligned correctly; expected 24 space(s) between "'name'" and double arrow, but found 38.
'type' => 'template_selection',

Check warning on line 734 in inc/models/class-checkout-form.php

View workflow job for this annotation

GitHub Actions / Code Quality Checks

Array double arrow not aligned correctly; expected 24 space(s) between "'type'" and double arrow, but found 38.
'id' => 'template_selection',

Check warning on line 735 in inc/models/class-checkout-form.php

View workflow job for this annotation

GitHub Actions / Code Quality Checks

Array double arrow not aligned correctly; expected 26 space(s) between "'id'" and double arrow, but found 40.
'template_selection_type' => 'all',

Check warning on line 736 in inc/models/class-checkout-form.php

View workflow job for this annotation

GitHub Actions / Code Quality Checks

Array double arrow not aligned correctly; expected 5 space(s) between "'template_selection_type'" and double arrow, but found 19.
'template_selection_template' => 'clean',

Check warning on line 737 in inc/models/class-checkout-form.php

View workflow job for this annotation

GitHub Actions / Code Quality Checks

Array double arrow not aligned correctly; expected 1 space(s) between "'template_selection_template'" and double arrow, but found 15.
'hide_template_selection_when_pre_selected' => true,
],
[
Expand Down Expand Up @@ -1032,9 +1032,7 @@

$old_template_list = is_array($old_template_list) ? $old_template_list : [];

$template_list = array_flip($old_template_list);

$template_list = ! empty($template_list) ? $template_list : $templates;
$template_list = ! empty($old_template_list) ? $old_template_list : $templates;

$step['fields'] = [
'template_selection' => [
Expand Down
Loading