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 | _inc/social-logos.php +7 -6 13.3.316.3-a.1 View file →
@@ -7,11 +7,15 @@
7 7 *
8 8 * @package automattic/jetpack
9 9 */
10 10
11 -define( 'JETPACK_SOCIAL_LOGOS_URL', plugin_dir_url( __FILE__ ) . 'social-logos/' );
12 -define( 'JETPACK_SOCIAL_LOGOS_DIR', plugin_dir_path( __FILE__ ) . 'social-logos/' );
11 +if ( ! defined( 'ABSPATH' ) ) {
12 + exit( 0 );
13 +}
13 14
15 +define( 'JETPACK_SOCIAL_LOGOS_URL', plugin_dir_url( __FILE__ ) . 'build/social-logos/' );
16 +define( 'JETPACK_SOCIAL_LOGOS_DIR', plugin_dir_path( __FILE__ ) . 'build/social-logos/' );
17 +
14 18 /**
15 19 * Globally registers the 'social-logos' style and font.
16 20 *
17 21 * This ensures any theme or plugin using it is on the latest version of Social Logos, and helps to avoid conflicts.
@@ -17,15 +21,12 @@
17 21 * This ensures any theme or plugin using it is on the latest version of Social Logos, and helps to avoid conflicts.
18 22 */
19 23 function jetpack_register_social_logos() {
20 24 if ( ! wp_style_is( 'social-logos', 'registered' ) ) {
21 - /** This filter is documented in modules/sharedaddy/sharing.php */
22 - $post_fix = apply_filters( 'jetpack_should_use_minified_assets', true ) ? '.min' : '';
23 25 wp_register_style(
24 26 'social-logos',
25 - JETPACK_SOCIAL_LOGOS_URL . 'social-logos' . $post_fix . '.css',
27 + JETPACK_SOCIAL_LOGOS_URL . 'social-logos.css',
26 28 false,
27 29 JETPACK__VERSION
28 30 );
29 31 }
30 32 }
31 -add_action( 'init', 'jetpack_register_social_logos', 1 );