PluginProbe
Jetpack – WP Security, Backup, Speed, & Growth / 16.3-a.1
Jetpack – WP Security, Backup, Speed, & Growth v16.3-a.1
16.3-a.3 16.3-a.1 16.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 All 504 releases
← All changes | modules/theme-tools/social-menu.php +15 -11 13.7.216.3-a.1 View file →
@@ -10,8 +10,12 @@
10 10 *
11 11 * @package automattic/jetpack
12 12 */
13 13
14 +if ( ! defined( 'ABSPATH' ) ) {
15 + exit( 0 );
16 +}
17 +
14 18 if ( ! class_exists( '\Automattic\Jetpack\Classic_Theme_Helper\Main' ) ) {
15 19 if ( ! function_exists( 'jetpack_social_menu_init' ) ) {
16 20 /**
17 21 * Activate the Social Menu plugin.
@@ -24,19 +28,19 @@
24 28 if ( ! current_theme_supports( 'jetpack-social-menu' ) ) {
25 29 return;
26 30 }
27 31
28 - /*
29 - * Social Menu description.
30 - *
31 - * Rename the social menu description.
32 - *
33 - * @module theme-tools
34 - *
35 - * @since 3.9.0
36 - *
37 - * @param string $social_menu_description Social Menu description
38 - */
32 + /**
33 + * Social Menu description.
34 + *
35 + * Rename the social menu description.
36 + *
37 + * @module theme-tools
38 + *
39 + * @since 3.9.0
40 + *
41 + * @param string $social_menu_description Social Menu description
42 + */
39 43 $social_menu_description = apply_filters( 'jetpack_social_menu_description', __( 'Social Menu', 'jetpack' ) );
40 44
41 45 // Register a new menu location
42 46 register_nav_menus(