@@ 103-107 (lines=5) @@ | ||
100 | '#https?://(www\.)?speakerdeck\.com/.*#i' => array( 'https://speakerdeck.com/oembed.{format}', true ), |
|
101 | ); |
|
102 | ||
103 | if ( ! empty( self::$early_providers['add'] ) ) { |
|
104 | foreach ( self::$early_providers['add'] as $format => $data ) { |
|
105 | $providers[ $format ] = $data; |
|
106 | } |
|
107 | } |
|
108 | ||
109 | if ( ! empty( self::$early_providers['remove'] ) ) { |
|
110 | foreach ( self::$early_providers['remove'] as $format ) { |
|
@@ 109-113 (lines=5) @@ | ||
106 | } |
|
107 | } |
|
108 | ||
109 | if ( ! empty( self::$early_providers['remove'] ) ) { |
|
110 | foreach ( self::$early_providers['remove'] as $format ) { |
|
111 | unset( $providers[ $format ] ); |
|
112 | } |
|
113 | } |
|
114 | ||
115 | self::$early_providers = array(); |
|
116 |