[wp-trac] [WordPress Trac] #38121: Crossorigin and other attributes for wp_resource_hints

WordPress Trac noreply at wordpress.org
Wed Oct 19 09:28:24 UTC 2016


#38121: Crossorigin and other attributes for wp_resource_hints
-------------------------------------------------+-------------------------
 Reporter:  superpoincare                        |       Owner:  swissspidy
     Type:  enhancement                          |      Status:  closed
 Priority:  normal                               |   Milestone:  4.7
Component:  Script Loader                        |     Version:  4.6
 Severity:  normal                               |  Resolution:  fixed
 Keywords:  has-patch has-unit-tests needs-dev-  |     Focuses:
  note commit                                    |  performance
-------------------------------------------------+-------------------------
Changes (by swissspidy):

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


Comment:

 In [changeset:"38826"]:
 {{{
 #!CommitTicketReference repository="" revision="38826"
 Resource Hints: Allow passing custom attributes to resource hints.

 [37920] introduced resource hints that allow browsers to prefetch specific
 pages or render them in the background. With this change, the `as`,
 `crossorigin`, `pr`, and `type` attributes can be passed in addition to
 the URLs/hosts.

 Props peterwilsoncc, swissspidy.
 Fixes #38121.
 }}}

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


More information about the wp-trac mailing list