PluginProbe
Discount Rules for WooCommerce – Disco | Dynamic Pricing, Conditions, Bulk, Bundle, BOGO / 1.4.22
Discount Rules for WooCommerce – Disco | Dynamic Pricing, Conditions, Bulk, Bundle, BOGO v1.4.22
1.4.22 1.4.21 1.4.20 1.4.19 1.4.18 1.4.17 1.4.16 1.4.15 1.4.14 1.4.13 1.4.12 1.4.11 1.4.10 1.4.9 1.4.8 1.4.7 1.4.6 1.4.5 1.4.4 1.4.3 1.4.2 1.4.1 1.4.0 1.3.54 1.3.53 All 185 releases
← All changes | engine/Initialize.php +1 -1 1.4.14 → 1.4.22 View file →
@@ -195,9 +195,9 @@
195 195 if ( \is_array( $temp_files ) ) {
196 196 foreach ( $temp_files as $temp_file ) {
197 197 // Only include filenames that DO NOT contain the excluded string and ARE NOT on the scandir result blacklist.
198 198 if ( \is_string( $exclude_str ) && false !== \mb_strpos( $temp_file, $exclude_str )
199 - || $temp_file[0] === '.'
199 + || '.' === $temp_file[0]
200 200 || \in_array( $temp_file, $blacklist, true )
201 201 ) {
202 202 continue;
203 203 }