Code Duplication    Length = 9-9 lines in 2 locations

src/wp-admin/includes/class-pclzip.php 2 locations

@@ 396-404 (lines=9) @@
393
             ,PCLZIP_ATT_FILE_CONTENT => 'optional'
394
             ,PCLZIP_ATT_FILE_COMMENT => 'optional'
395
						);
396
    foreach ($v_att_list as $v_entry) {
397
      $v_result = $this->privFileDescrParseAtt($v_entry,
398
                                               $v_filedescr_list[],
399
                                               $v_options,
400
                                               $v_supported_attributes);
401
      if ($v_result != 1) {
402
        return 0;
403
      }
404
    }
405
406
    // ----- Expand the filelist (expand directories)
407
    $v_result = $this->privFileDescrExpand($v_filedescr_list, $v_options);
@@ 579-587 (lines=9) @@
576
             ,PCLZIP_ATT_FILE_CONTENT => 'optional'
577
             ,PCLZIP_ATT_FILE_COMMENT => 'optional'
578
						);
579
    foreach ($v_att_list as $v_entry) {
580
      $v_result = $this->privFileDescrParseAtt($v_entry,
581
                                               $v_filedescr_list[],
582
                                               $v_options,
583
                                               $v_supported_attributes);
584
      if ($v_result != 1) {
585
        return 0;
586
      }
587
    }
588
589
    // ----- Expand the filelist (expand directories)
590
    $v_result = $this->privFileDescrExpand($v_filedescr_list, $v_options);