Changeset 47550 for trunk/src/wp-includes/l10n.php
- Timestamp:
- 04/05/2020 03:00:44 AM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/l10n.php
r47230 r47550 1209 1209 1210 1210 $path = WP_LANG_DIR . '/plugins/' . $mofile; 1211 if ( in_array( $path, $cached_mofiles ) ) {1211 if ( in_array( $path, $cached_mofiles, true ) ) { 1212 1212 return $path; 1213 1213 } 1214 1214 1215 1215 $path = WP_LANG_DIR . '/themes/' . $mofile; 1216 if ( in_array( $path, $cached_mofiles ) ) {1216 if ( in_array( $path, $cached_mofiles, true ) ) { 1217 1217 return $path; 1218 1218 } … … 1367 1367 continue; 1368 1368 } 1369 if ( ! in_array( substr( $file, 0, -3 ) . '.mo', $files ) ) {1369 if ( ! in_array( substr( $file, 0, -3 ) . '.mo', $files, true ) ) { 1370 1370 continue; 1371 1371 }
Note: See TracChangeset
for help on using the changeset viewer.