[wp-trac] [WordPress Trac] #37108: Remove hardcoded 'https://' from wordpress
WordPress Trac
noreply at wordpress.org
Wed Jun 15 14:25:15 UTC 2016
#37108: Remove hardcoded 'https://' from wordpress
--------------------------+------------------------------
Reporter: yratof | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: General | Version: 4.5.2
Severity: normal | Resolution:
Keywords: | Focuses:
--------------------------+------------------------------
Description changed by ocean90:
Old description:
> Remove all instances of HTTP and HTTPS from wordpress and replace with //
> for the site to fetch the correct url. Especially when working locally or
> on a test domain.
>
> Found in this file: `wp-includes/scripts-loader.php`
>
> // Hotlink Open Sans, for now
> $open_sans_font_url =
> "https://fonts.googleapis.com/css?family=Open+Sans:300italic,400italic,600italic,300,400,600&subset=$subsets";
New description:
Remove all instances of HTTP and HTTPS from wordpress and replace with
`//` for the site to fetch the correct url. Especially when working
locally or on a test domain.
Found in this file: `wp-includes/scripts-loader.php`
{{{
// Hotlink Open Sans, for now
$open_sans_font_url =
"https://fonts.googleapis.com/css?family=Open+Sans:300italic,400italic,600italic,300,400,600&subset=$subsets";
}}}
--
--
Ticket URL: <https://core.trac.wordpress.org/ticket/37108#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list