[wp-trac] [WordPress Trac] #37385: Resource hinting: only dns-prefetch enqueued resources.

WordPress Trac noreply at wordpress.org
Tue Jul 19 09:07:56 UTC 2016


#37385: Resource hinting: only dns-prefetch enqueued resources.
---------------------------+----------------------------
 Reporter:  peterwilsoncc  |       Owner:  peterwilsoncc
     Type:  defect (bug)   |      Status:  closed
 Priority:  normal         |   Milestone:  4.6
Component:  Script Loader  |     Version:  trunk
 Severity:  normal         |  Resolution:  fixed
 Keywords:  commit         |     Focuses:
---------------------------+----------------------------

Comment (by peterwilsoncc):

 Replying to [comment:6 swissspidy]:
 > Should the function be called `wp_get_dependencies_unique_hosts()` as
 suggested in [comment:50:ticket:34292]?

 I'm am not sure.

 I think of the `get_` and `the_` prefixes as being somehow different but I
 can not explain how so succinctly. The prefixes put me in mind of WP
 objects, usually posts, whereas `wp_[get_]dependencies_unique_hosts` works
 at a higher level within WordPress itself.

 As I say, I am not sure.

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


More information about the wp-trac mailing list