Changeset 10188
- Timestamp:
- 08/19/2020 07:05:08 AM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/plugins/plugin-directory/cli/class-import.php
r10105 r10188 490 490 $base_dir = "$tmp_dir/export"; 491 491 492 $block_json_files = Filesystem::list_files( $base_dir, true, '! ^block\.json$!i' );492 $block_json_files = Filesystem::list_files( $base_dir, true, '!(?:^|/)block\.json$!i' ); 493 493 if ( ! empty( $block_json_files ) ) { 494 494 foreach ( $block_json_files as $filename ) {
Note: See TracChangeset
for help on using the changeset viewer.