Code Duplication    Length = 5-9 lines in 2 locations

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

@@ 377-385 (lines=9) @@
374
    }
375
376
    // ----- Reformat the string list
377
    if (sizeof($v_string_list) != 0) {
378
      foreach ($v_string_list as $v_string) {
379
        if ($v_string != '') {
380
          $v_att_list[][PCLZIP_ATT_FILE_NAME] = $v_string;
381
        }
382
        else {
383
        }
384
      }
385
    }
386
387
    // ----- For each file in the list check the attributes
388
    $v_supported_attributes
@@ 564-568 (lines=5) @@
561
    }
562
563
    // ----- Reformat the string list
564
    if (sizeof($v_string_list) != 0) {
565
      foreach ($v_string_list as $v_string) {
566
        $v_att_list[][PCLZIP_ATT_FILE_NAME] = $v_string;
567
      }
568
    }
569
570
    // ----- For each file in the list check the attributes
571
    $v_supported_attributes