diff --git a/classes/class-wpcom-liveblog-entry-embed-sdks.php b/classes/class-wpcom-liveblog-entry-embed-sdks.php index 6f05f091..bfd175a2 100644 --- a/classes/class-wpcom-liveblog-entry-embed-sdks.php +++ b/classes/class-wpcom-liveblog-entry-embed-sdks.php @@ -40,7 +40,9 @@ public static function enqueue() { foreach ( self::$sdks as $name => $url ) { if ( 'reddit' === $name ) { - wp_enqueue_script( $name, esc_url( $url ), array(), null, false ); + // Do not attach `?ver=` for reddit script due to redirects + $version = 'reddit' === $name ? null : WPCOM_Liveblog::VERSION; + wp_enqueue_script( $name, esc_url( $url ), array(), $version, false ); } else { wp_enqueue_script( $name, esc_url( $url ), array(), WPCOM_Liveblog::VERSION, false ); }