Changeset 3004136
- Timestamp:
- 12/01/2023 09:54:24 AM (2 years ago)
- Location:
- adminimize
- Files:
-
- 2 edited
-
tags/1.11.10/inc-setup/dashboard.php (modified) (2 diffs)
-
trunk/inc-setup/dashboard.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
adminimize/tags/1.11.10/inc-setup/dashboard.php
r3004113 r3004136 153 153 154 154 $value['title'] = ($value['title'] == FALSE) ? [] : $value['title']; 155 156 if ( ! is_array( $value ) ) { 157 $value = []; 158 } 159 155 160 if ( ! isset( $value['title'])) { 156 161 $value['title'] = ''; … … 158 163 159 164 // Some plugins create a title that contains an array, we create an empty string to prevent an error in strip_tags 160 if ( is_array( $value['title'])) {165 if ( is_array( $value['title'])) { 161 166 $value['title'] = ''; 162 167 } -
adminimize/trunk/inc-setup/dashboard.php
r3004114 r3004136 153 153 154 154 $value['title'] = ($value['title'] == FALSE) ? [] : $value['title']; 155 156 if ( ! is_array( $value ) ) { 157 $value = []; 158 } 159 155 160 if ( ! isset( $value['title'])) { 156 161 $value['title'] = ''; … … 158 163 159 164 // Some plugins create a title that contains an array, we create an empty string to prevent an error in strip_tags 160 if ( is_array( $value['title'])) {165 if ( is_array( $value['title'])) { 161 166 $value['title'] = ''; 162 167 }
Note: See TracChangeset
for help on using the changeset viewer.