Making WordPress.org

Changeset 6042


Ignore:
Timestamp:
10/18/2017 02:58:04 PM (7 years 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.