Skip to content

Commit 9290d90

Browse files
committed
Refactor whitespace in base-setup.php for improved readability
- Removed unnecessary whitespace around conditional checks and comments in the DT_Groups_Base class. - Enhanced code clarity without altering functionality.
1 parent 37395b4 commit 9290d90

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

dt-groups/base-setup.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1204,7 +1204,7 @@ public function scripts(){
12041204
if ( $field_key === 'title' ) {
12051205
continue;
12061206
}
1207-
1207+
12081208
// Skip hidden fields unless they have custom_display
12091209
if ( !empty( $field_setting['hidden'] ) && empty( $field_setting['custom_display'] ) ) {
12101210
continue;
@@ -1220,7 +1220,7 @@ public function scripts(){
12201220
}
12211221
}
12221222
}
1223-
1223+
12241224
// Add title field settings separately for JavaScript to use when rendering title explicitly
12251225
// We need title field settings available but not in the main fieldsToRender loop
12261226
if ( isset( $field_settings['title'] ) ) {

0 commit comments

Comments
 (0)