PluginProbe
Jetpack – WP Security, Backup, Speed, & Growth / 15.0
Jetpack – WP Security, Backup, Speed, & Growth v15.0
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 +9 -1 14.9.215.0 View file →
@@ -13,8 +13,15 @@
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 +
17 24 /**
18 25 * Transforms the $atts array into a string that the old functions expected
19 26 *
20 27 * The old way was:
@@ -48,9 +55,10 @@
48 55 function jetpack_load_shortcodes() {
49 56 // Prevent third-party shortcode plugins when loading shortcode files.
50 57 // Format: shortcode => condition_when_to_skip
51 58 $shortcode_skips = array(
52 - 'soundcloud' => function_exists( 'soundcloud_shortcode' ), // SoundCloud Shortcodes plugin
59 + 'shortcode-utils' => true, // Utils aren't shortcodes.
60 + 'soundcloud' => function_exists( 'soundcloud_shortcode' ), // SoundCloud Shortcodes plugin
53 61 );
54 62
55 63 $shortcode_includes = array();
56 64