[wp-trac] [WordPress Trac] #37317: Change priority of `wp_resource_hints()` to print them earlier

WordPress Trac noreply at wordpress.org
Wed Jul 13 12:53:08 UTC 2016


#37317: Change priority of `wp_resource_hints()` to print them earlier
------------------------------+--------------------------
 Reporter:  ocean90           |       Owner:  ocean90
     Type:  defect (bug)      |      Status:  closed
 Priority:  normal            |   Milestone:  4.6
Component:  General           |     Version:  trunk
 Severity:  normal            |  Resolution:  fixed
 Keywords:  has-patch commit  |     Focuses:  performance
------------------------------+--------------------------
Changes (by ocean90):

 * status:  assigned => closed
 * resolution:   => fixed


Comment:

 In [changeset:"38046"]:
 {{{
 #!CommitTicketReference repository="" revision="38046"
 Resource Hints: Increase priority of `wp_resource_hints()` so hints get
 printed before scripts and styles.

 Also run `wp_resource_hints()` on the login screen and in the customizer.

 Props swissspidy.
 Fixes #37317.
 }}}

--
Ticket URL: <https://core.trac.wordpress.org/ticket/37317#comment:10>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list