PluginProbe
Jetpack – WP Security, Backup, Speed, & Growth / 14.2
Jetpack – WP Security, Backup, Speed, & Growth v14.2
16.2-beta 12.0.3 12.1.3 12.2.3 12.3.2 12.4.2 12.5.2 12.6.4 12.7.3 12.8.3 12.9.5 13.0.2 13.1.5 13.2.4 13.3.3 13.4.5 13.5.2 13.6.2 13.7.2 13.8.3 13.9.2 14.0.1 14.1.1 14.2.2 14.3.1 All 501 releases
← All changes | modules/shortcodes.php +2 -10 16.2-beta14.2 View file →
@@ -1,8 +1,8 @@
1 1 <?php
2 2 /**
3 3 * Module Name: Shortcode Embeds
4 - * Module Description: Easily embed rich media like YouTube videos and tweets using simple shortcodes.
4 + * Module Description: Shortcodes are WordPress-specific markup that let you add media from popular sites. This feature is no longer necessary as the editor now handles media embeds rather gracefully.
5 5 * Sort Order: 3
6 6 * First Introduced: 1.1
7 7 * Major Changes In: 1.2
8 8 * Requires Connection: No
@@ -13,15 +13,8 @@
13 13 *
14 14 * @package automattic/jetpack
15 15 */
16 16
17 -if ( ! defined( 'ABSPATH' ) ) {
18 - exit( 0 );
19 -}
20 -
21 -// Load shortcode utils.
22 -require_once __DIR__ . '/shortcodes/shortcode-utils.php';
23 -
24 17 /**
25 18 * Transforms the $atts array into a string that the old functions expected
26 19 *
27 20 * The old way was:
@@ -55,10 +48,9 @@
55 48 function jetpack_load_shortcodes() {
56 49 // Prevent third-party shortcode plugins when loading shortcode files.
57 50 // Format: shortcode => condition_when_to_skip
58 51 $shortcode_skips = array(
59 - 'shortcode-utils' => true, // Utils aren't shortcodes.
60 - 'soundcloud' => function_exists( 'soundcloud_shortcode' ), // SoundCloud Shortcodes plugin
52 + 'soundcloud' => function_exists( 'soundcloud_shortcode' ), // SoundCloud Shortcodes plugin
61 53 );
62 54
63 55 $shortcode_includes = array();
64 56