PluginProbe
Jetpack – WP Security, Backup, Speed, & Growth / 16.3-a.7
Jetpack – WP Security, Backup, Speed, & Growth v16.3-a.7
16.3-a.5 16.3-a.7 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 All 506 releases
← All changes | modules/theme-tools/social-menu/icon-functions.php +5 -4 13.8.3 → 16.3-a.7 View file →
@@ -4,8 +4,12 @@
4 4 *
5 5 * @package automattic/jetpack
6 6 */
7 7
8 +if ( ! defined( 'ABSPATH' ) ) {
9 + exit( 0 );
10 +}
11 +
8 12 if ( ! function_exists( 'jetpack_social_menu_include_svg_icons' ) ) {
9 13 /**
10 14 * Add SVG definitions to the footer.
11 15 */
@@ -64,9 +68,9 @@
64 68 return esc_html__( 'Please define default parameters in the form of an array.', 'jetpack' );
65 69 }
66 70
67 71 // Define an icon.
68 - if ( false === array_key_exists( 'icon', $args ) ) {
72 + if ( ! array_key_exists( 'icon', $args ) ) {
69 73 return esc_html__( 'Please define an SVG icon filename.', 'jetpack' );
70 74 }
71 75
72 76 // Set defaults.
@@ -193,13 +197,10 @@
193 197 'medium.com' => 'medium',
194 198 'nextdoor.com' => 'nextdoor',
195 199 'patreon.com' => 'patreon',
196 200 'pinterest.' => 'pinterest',
197 - 'getpocket.com' => 'pocket',
198 201 'ravelry.com' => 'ravelry',
199 202 'reddit.com' => 'reddit',
200 - 'skype.com' => 'skype',
201 - 'skype:' => 'skype',
202 203 'slideshare.net' => 'slideshare',
203 204 'sms:' => 'sms',
204 205 'snapchat.com' => 'snapchat',
205 206 'soundcloud.com' => 'soundcloud',