PluginProbe
Customify / 2.1.1
Customify v2.1.1
2.10.9 1.2.3 1.2.4 1.2.5 1.2.6 1.2.7 1.2.7.1 1.3.0 1.3.1 1.4.0 1.4.1 1.4.2 1.5.0 1.5.1 1.5.2 1.5.3 1.5.4 1.5.5 1.5.6 1.5.7 1.6.0 1.6.0.1 1.6.5 1.7.0 1.7.1 All 77 releases
← All changes | settings/general.php +6 -0 1.5.72.1.1 View file →
@@ -6,8 +6,11 @@
6 6
7 7 if ( isset( $config['sections'] ) && ! empty( $config['sections'] ) ) {
8 8
9 9 foreach ( $config['sections'] as $id => $section ) {
10 + if ( empty( $section['title'] ) ) {
11 + $section['title'] = 'No Title';
12 + }
10 13 $customify_sections[$id] = $section['title'];
11 14 }
12 15
13 16 }
@@ -17,8 +20,11 @@
17 20 foreach ( $config['panels'] as $panel_id => $panel ) {
18 21
19 22 if ( isset( $panel['sections'] ) && ! empty( $panel['sections'] ) ) {
20 23 foreach ( $panel['sections'] as $id => $section ) {
24 + if ( empty( $section['title'] ) ) {
25 + $section['title'] = 'No Title';
26 + }
21 27 $customify_sections[$id] = $section['title'];
22 28 }
23 29 }
24 30 }