Code Duplication    Length = 5-5 lines in 2 locations

src/wp-includes/class-oembed.php 2 locations

@@ 83-87 (lines=5) @@
80
			'#https?://(www\.)?speakerdeck\.com/.*#i'             => array( 'https://speakerdeck.com/oembed.{format}',                   true  ),
81
		);
82
83
		if ( ! empty( self::$early_providers['add'] ) ) {
84
			foreach ( self::$early_providers['add'] as $format => $data ) {
85
				$providers[ $format ] = $data;
86
			}
87
		}
88
89
		if ( ! empty( self::$early_providers['remove'] ) ) {
90
			foreach ( self::$early_providers['remove'] as $format ) {
@@ 89-93 (lines=5) @@
86
			}
87
		}
88
89
		if ( ! empty( self::$early_providers['remove'] ) ) {
90
			foreach ( self::$early_providers['remove'] as $format ) {
91
				unset( $providers[ $format ] );
92
			}
93
		}
94
95
		self::$early_providers = array();
96