Changeset 14375
- Timestamp:
- 02/05/2025 03:20:13 AM (12 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/plugins/plugin-directory/cli/class-import.php
r14373 r14375 1305 1305 $has_self_install_step = false; 1306 1306 if ( isset( $decoded_file[ 'steps' ] ) ) { 1307 $decoded_file[ 'steps' ] = array_filter( $decoded_file[ 'steps' ] ); // Null items are often present in auto-generated blueprints. 1307 // Null & falsey items are often present in auto-generated blueprints, reindex to avoid serialising to an object. 1308 $decoded_file[ 'steps' ] = array_values( array_filter( $decoded_file[ 'steps' ] ) ); 1308 1309 1309 1310 foreach ( $decoded_file[ 'steps' ] as &$step ) {
Note: See TracChangeset
for help on using the changeset viewer.