diff options
Diffstat (limited to 'plugins/jetpack/modules/gravatar-hovercards.php')
-rw-r--r-- | plugins/jetpack/modules/gravatar-hovercards.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/jetpack/modules/gravatar-hovercards.php b/plugins/jetpack/modules/gravatar-hovercards.php index fe6cce61..49ebac04 100644 --- a/plugins/jetpack/modules/gravatar-hovercards.php +++ b/plugins/jetpack/modules/gravatar-hovercards.php @@ -185,7 +185,7 @@ function grofiles_attach_cards() { return; } - wp_enqueue_script( 'grofiles-cards', ( is_ssl() ? 'https://secure' : 'http://s' ) . '.gravatar.com/js/gprofiles.js', array( 'jquery' ), GROFILES__CACHE_BUSTER, true ); + wp_enqueue_script( 'grofiles-cards', 'https://secure.gravatar.com/js/gprofiles.js', array( 'jquery' ), GROFILES__CACHE_BUSTER, true ); wp_enqueue_script( 'wpgroho', plugins_url( 'wpgroho.js', __FILE__ ), array( 'grofiles-cards' ), false, true ); if ( is_user_logged_in() ) { $cu = wp_get_current_user(); @@ -246,7 +246,7 @@ function grofiles_hovercards_data_html( $author ) { } elseif ( is_a( $author, 'WP_User' ) ) { $hash = md5( $author->user_email ); } - + if ( ! $hash ) { return; } |