diff --git a/modules/shortcodes/js/slideshow-shortcode.js b/modules/shortcodes/js/slideshow-shortcode.js index e9ef1b8d53613..e17a2d748d215 100644 --- a/modules/shortcodes/js/slideshow-shortcode.js +++ b/modules/shortcodes/js/slideshow-shortcode.js @@ -96,7 +96,7 @@ JetpackSlideshow.prototype.finishInit_ = function() { fx: this.transition, prev: this.controls.prev, next: this.controls.next, - speed: jetpackSlideshowSettings.speed, + timeout: jetpackSlideshowSettings.speed, slideExpr: '.slideshow-slide', onPrevNextEvent: function() { return self.onCyclePrevNextClick_.apply( self, arguments ); diff --git a/modules/shortcodes/slideshow.php b/modules/shortcodes/slideshow.php index 62a8f55f50a8d..3aa0ac5c168e0 100644 --- a/modules/shortcodes/slideshow.php +++ b/modules/shortcodes/slideshow.php @@ -290,11 +290,11 @@ function enqueue_scripts() { * * @param array $args * - string - spinner - URL of the spinner image. - * - string - speed - Speed of the slideshow. Defaults to 1000. + * - string - speed - Speed of the slideshow. Defaults to 4000. */ apply_filters( 'jetpack_js_slideshow_settings', array( 'spinner' => plugins_url( '/img/slideshow-loader.gif', __FILE__ ), - 'speed' => '1000', + 'speed' => '4000', ) ) ); }