modules/widgets/social-media-icons.php 1 location
|
@@ 52-54 (lines=3) @@
|
49 |
|
'googleplus' => array( 'Google+', 'https://plus.google.com/u/0/%s/' ), |
50 |
|
); |
51 |
|
|
52 |
|
if ( is_active_widget( false, false, $this->id_base ) || is_customize_preview() ) { |
53 |
|
add_action( 'wp_enqueue_scripts', array( $this, 'enqueue_style' ) ); |
54 |
|
} |
55 |
|
} |
56 |
|
|
57 |
|
public function enqueue_style() { |
modules/widgets/top-posts.php 1 location
|
@@ 45-47 (lines=3) @@
|
42 |
|
|
43 |
|
$this->default_title = __( 'Top Posts & Pages', 'jetpack' ); |
44 |
|
|
45 |
|
if ( is_active_widget( false, false, $this->id_base ) || is_customize_preview() ) { |
46 |
|
add_action( 'wp_enqueue_scripts', array( $this, 'enqueue_style' ) ); |
47 |
|
} |
48 |
|
|
49 |
|
/** |
50 |
|
* Add explanation about how the statistics are calculated. |