Changeset 3341 for sites/trunk/wordpress.org/public_html/wp-content/plugins/plugin-directory/cli/class-import.php
- Timestamp:
- 06/12/2016 11:54:09 AM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/plugins/plugin-directory/cli/class-import.php
r3335 r3341 292 292 if ( $svn_assets_folder ) { // /assets/ may not exist. 293 293 foreach ( $svn_assets_folder as $asset ) { 294 // screenshot-0 .(png|jpg|jpeg|gif) || icon.svg295 if ( ! preg_match( '!^(?P<type>screenshot|banner|icon)(-(?P<resolution>[\dx]+) \.(png|jpg|jpeg|gif)|\.svg)$!i', $asset['filename'], $m ) ) {294 // screenshot-0(-rtl).(png|jpg|jpeg|gif) || icon.svg 295 if ( ! preg_match( '!^(?P<type>screenshot|banner|icon)(-(?P<resolution>[\dx]+)(-rtl)?\.(png|jpg|jpeg|gif)|\.svg)$!i', $asset['filename'], $m ) ) { 296 296 continue; 297 297 }
Note: See TracChangeset
for help on using the changeset viewer.