| @@ -152,10 +152,11 @@ | ||
| 152 | 152 | * |
| 153 | 153 | * @module shortcodes |
| 154 | 154 | * |
| 155 | 155 | * @since 2.3.0 |
| 156 | + * @since $$next-version$$ Captions render as plain text, so markup returned here is discarded. | |
| 156 | 157 | * |
| 157 | - * @param string wptexturize( strip_tags( $attachment->post_excerpt ) ) Post excerpt. | |
| 158 | + * @param string wptexturize( wp_strip_all_tags( $attachment->post_excerpt ) ) Post excerpt. | |
| 158 | 159 | * @param string $attachment ->ID Attachment ID. |
| 159 | 160 | */ |
| 160 | 161 | $caption = apply_filters( 'jetpack_slideshow_slide_caption', wptexturize( wp_strip_all_tags( $attachment->post_excerpt ) ), $attachment->ID ); |
| 161 | 162 | |
| @@ -277,9 +278,9 @@ | ||
| 277 | 278 | wp_enqueue_script( |
| 278 | 279 | 'jetpack-slideshow', |
| 279 | 280 | Assets::get_file_url_for_environment( '_inc/build/shortcodes/js/slideshow-shortcode.min.js', 'modules/shortcodes/js/slideshow-shortcode.js' ), |
| 280 | 281 | array( 'jquery', 'jetpack-shortcode-deps' ), |
| 281 | - '20160119.1', | |
| 282 | + '20260915', | |
| 282 | 283 | true |
| 283 | 284 | ); |
| 284 | 285 | wp_enqueue_style( |
| 285 | 286 | 'jetpack-slideshow', |