[wp-trac] [WordPress Trac] #37171: Implement preconnect to Google fonts in themes twenty eleven, twelve, thirteen, fourteen, fifteen, sixteen

WordPress Trac noreply at wordpress.org
Sat Jun 25 17:49:00 UTC 2016


#37171: Implement preconnect to Google fonts in themes twenty eleven, twelve,
thirteen, fourteen, fifteen, sixteen
-----------------------------+-----------------------------
 Reporter:  superpoincare    |      Owner:
     Type:  feature request  |     Status:  new
 Priority:  normal           |  Milestone:  Awaiting Review
Component:  Themes           |    Version:  trunk
 Severity:  normal           |   Keywords:
  Focuses:  performance      |
-----------------------------+-----------------------------
 This ticket https://core.trac.wordpress.org/ticket/34292#comment:31 adds
 support for preconnect to Wordpress.

 It might be useful to use it for Google Fonts in themes shipped with
 Wordpress (twenty eleven, twelve, thirteen, fourteen, fifteen, sixteen)

 The code can be added in the functions.php of these themes. The HTML
 output should look like:

 <link href='https://fonts.gstatic.com' rel='preconnect' crossorigin>

--
Ticket URL: <https://core.trac.wordpress.org/ticket/37171>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list