Skip to content

Commit

Permalink
For jetpack, inline the style sheet since the change is only 3 lines.
Browse files Browse the repository at this point in the history
  • Loading branch information
justinshreve committed Jun 16, 2015
1 parent ed2c2a9 commit c191a22
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions modules/widgets/facebook-likebox.php
Expand Up @@ -38,6 +38,7 @@ function widget( $args, $instance ) {
$like_args = $this->normalize_facebook_args( $instance['like_args'] );

wp_enqueue_style( 'jetpack_facebook_likebox', plugins_url( 'facebook-likebox/style.css', __FILE__ ) );
wp_style_add_data( 'jetpack_facebook_likebox', 'jetpack-inline', true );

if ( empty( $like_args['href'] ) || ! $this->is_valid_facebook_url( $like_args['href'] ) ) {
if ( current_user_can('edit_theme_options') ) {
Expand Down

0 comments on commit c191a22

Please sign in to comment.