Skip to content

Commit 813a173

Browse files
committed
Remove WP.com bail
1 parent fbbfb53 commit 813a173

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

modules/videopress/class.videopress-gutenberg.php

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -175,11 +175,6 @@ public function render_video_block_with_videopress( $attributes, $content ) {
175175
* uploaded against the WP.com API media endpoint and thus transcoded by VideoPress.
176176
*/
177177
public function override_video_upload() {
178-
// Bail if WP.com site.
179-
if ( defined( 'IS_WPCOM' ) && IS_WPCOM ) {
180-
return;
181-
}
182-
183178
// Bail if Jetpack or VideoPress is not active.
184179
if ( ! Jetpack::is_active() || ! Jetpack::is_module_active( 'videopress' ) ) {
185180
return;

0 commit comments

Comments
 (0)