Code Duplication    Length = 3-3 lines in 4 locations

src/wp-includes/ID3/module.tag.id3v2.php 4 locations

@@ 769-771 (lines=3) @@
766
			// URL              <text string>
767
768
			$parsedFrame['url'] = trim($parsedFrame['data']);
769
			if (!empty($parsedFrame['framenameshort']) && $parsedFrame['url']) {
770
				$info['id3v2']['comments'][$parsedFrame['framenameshort']][] = $parsedFrame['url'];
771
			}
772
			unset($parsedFrame['data']);
773
774
@@ 850-852 (lines=3) @@
847
			}
848
			$parsedFrame['data'] = $IPLS_parts;
849
850
			if (!empty($parsedFrame['framenameshort']) && !empty($parsedFrame['data'])) {
851
				$info['id3v2']['comments'][$parsedFrame['framenameshort']][] = $parsedFrame['data'];
852
			}
853
854
855
		} elseif ((($id3v2_majorversion >= 3) && ($parsedFrame['frame_name'] == 'MCDI')) || // 4.4   MCDI Music CD identifier
@@ 861-863 (lines=3) @@
858
			// <Header for 'Music CD identifier', ID: 'MCDI'>
859
			// CD TOC                <binary data>
860
861
			if (!empty($parsedFrame['framenameshort']) && !empty($parsedFrame['data'])) {
862
				$info['id3v2']['comments'][$parsedFrame['framenameshort']][] = $parsedFrame['data'];
863
			}
864
865
866
		} elseif ((($id3v2_majorversion >= 3) && ($parsedFrame['frame_name'] == 'ETCO')) || // 4.5   ETCO Event timing codes
@@ 1657-1659 (lines=3) @@
1654
			$parsedFrame['url'] = $frame_url;
1655
1656
			$parsedFrame['additionaldata'] = (string) substr($parsedFrame['data'], $frame_offset);
1657
			if (!empty($parsedFrame['framenameshort']) && $parsedFrame['url']) {
1658
				$info['id3v2']['comments'][$parsedFrame['framenameshort']][] = getid3_lib::iconv_fallback_iso88591_utf8($parsedFrame['url']);
1659
			}
1660
			unset($parsedFrame['data']);
1661
1662