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

WordPress Trac noreply at wordpress.org
Tue Jul 12 16:37:23 UTC 2016


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

Comment (by ocean90):

 [attachment:37317.3.diff] uses `customize_controls_print_styles` and
 `admin_print_styles` with a `! is_customize_preview()` condition to
 prevent adding hints twice to the customizer.

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


More information about the wp-trac mailing list