Changeset 6026 for sites/trunk/wordpress.org/public_html/wp-content/plugins/plugin-directory/shortcodes/class-upload-handler.php
- Timestamp:
- 10/13/2017 11:31:06 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/plugins/plugin-directory/shortcodes/class-upload-handler.php
r5841 r6026 61 61 $this->plugin_dir = Filesystem::unzip( $zip_file ); 62 62 63 $plugin_files = Filesystem::list_files( $this->plugin_dir, true /* Recursive */, '!\.php$!i' );63 $plugin_files = Filesystem::list_files( $this->plugin_dir, true /* Recursive */, '!\.php$!i', 1 /* Depth */ ); 64 64 foreach ( $plugin_files as $plugin_file ) { 65 65 $plugin_data = get_plugin_data( $plugin_file, false, false ); // No markup/translation needed.
Note: See TracChangeset
for help on using the changeset viewer.