[wp-trac] [WordPress Trac] #21399: Twenty Twelve: use protocol relative URL to load Google Fonts

WordPress Trac wp-trac at lists.automattic.com
Mon Jul 30 19:45:33 UTC 2012


#21399: Twenty Twelve: use protocol relative URL to load Google Fonts
---------------------------+------------------
 Reporter:  lancewillett   |       Owner:
     Type:  defect (bug)   |      Status:  new
 Priority:  normal         |   Milestone:  3.5
Component:  Bundled Theme  |     Version:
 Severity:  normal         |  Resolution:
 Keywords:  has-patch      |
---------------------------+------------------

Comment (by lancewillett):

 Replying to [comment:1 obenland]:
 > Won't this mess with back-compat? It was only introduced in [21166].

 We'd need to test to see how older versions of WP would react. The
 alternate is to check {{{is_ssl()}}} and output the correct protocol in
 the path. Which is not as elegant, but works.

 @nacin, any thoughts?

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/21399#comment:2>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list