[wp-trac] [WordPress Trac] #37317: Change priority of `wp_resource_hints()` to print them earlier
WordPress Trac
noreply at wordpress.org
Mon Jul 11 08:31:21 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):
Replying to [comment:4 peterwilsoncc]:
> * Using `1000` as a magic number for `admin_enqueue_scripts` doesn't
thrill me, a low number on `admin_print_scripts` seems more likely to get
the desired result.
Did you mean `admin_print_styles` here? Because `admin_print_scripts` runs
after styles are printed.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/37317#comment:5>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list