[wp-trac] [WordPress Trac] #19978: Twenty Twelve
WordPress Trac
wp-trac at lists.automattic.com
Thu Mar 1 00:50:33 UTC 2012
#19978: Twenty Twelve
----------------------------+------------------
Reporter: nacin | Owner:
Type: task (blessed) | Status: new
Priority: normal | Milestone: 3.4
Component: Bundled Theme | Version:
Severity: normal | Resolution:
Keywords: |
----------------------------+------------------
Changes (by emiluzelac):
* cc: emil@… (added)
Comment:
Replying to [comment:45 ocean90]:
> [attachment:19978-ssl-webfont.patch]
>
> Google allows us to load fonts via https too. We should use this if
`is_ssl()` is true.
>
> (#16560 would be good now.)
I don't think that {{{is_ssl(}}}) is necessary at all. (less is more)
This works well for both and there no issues with any of the servers that
I manage for my clients:
{{{@import url(//fonts.googleapis.com/css?family=Droid+Sans);}}}
Also see what Google itself does when loading fonts (same thing):
- http://www.google.com/intl/en/chromebook/static/css/chromeos.min.css
- view-source:http://www.google.com/intl/en/chromebook/
Emil
--
Ticket URL: <http://core.trac.wordpress.org/ticket/19978#comment:49>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list