WordPress.org

Making WordPress.org


Ignore:
Timestamp:
10/18/17 14:58:04 (8 weeks ago)
Author:
dd32
Message:

Plugin Directory: Checksums: When multiple changes are made to a file, ensure that the checksum is only listed once in checksum files.

See #3192

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/plugins/plugin-directory/zip/class-builder.php

    r6022 r6042  
    245245                        if ( is_array( $checksum_details ) ) { 
    246246                            $checksum_details[] = $json_checksum_file->checksums[ $file ]; 
    247                             $json_checksum_file->checksums[ $file ] = $checksum_details; 
     247                            $json_checksum_file->checksums[ $file ] = array_unique( $checksum_details ); 
    248248                        } else { 
    249249                            $json_checksum_file->checksums[ $file ] = array( 
Note: See TracChangeset for help on using the changeset viewer.