Ticket #30898: 30898.patch
| File 30898.patch, 1.3 KB (added by , 11 years ago) |
|---|
-
src/wp-includes/pluggable.php
2148 2148 if ( !empty($email) ) 2149 2149 $email_hash = md5( strtolower( trim( $email ) ) ); 2150 2150 2151 if ( is_ssl() ) { 2152 $host = 'https://secure.gravatar.com'; 2153 } else { 2154 if ( !empty($email) ) 2155 $host = sprintf( "http://%d.gravatar.com", ( hexdec( $email_hash[0] ) % 2 ) ); 2156 else 2157 $host = 'http://0.gravatar.com'; 2158 } 2151 $host = 'https://secure.gravatar.com'; 2159 2152 2160 2153 if ( 'mystery' == $default ) 2161 2154 $default = "$host/avatar/ad516503a11cd5ca435acc9bb6523536?s={$size}"; // ad516503a11cd5ca435acc9bb6523536 == md5('unknown@gravatar.com') -
src/wp-includes/script-loader.php
605 605 } 606 606 607 607 // Hotlink Open Sans, for now 608 $open_sans_font_url = " //fonts.googleapis.com/css?family=Open+Sans:300italic,400italic,600italic,300,400,600&subset=$subsets";608 $open_sans_font_url = "https://fonts.googleapis.com/css?family=Open+Sans:300italic,400italic,600italic,300,400,600&subset=$subsets"; 609 609 } 610 610 611 611 // Register a stylesheet for the selected admin color scheme.