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

WordPress Trac noreply at wordpress.org
Sun Oct 9 05:27:11 UTC 2016


#38121: Crossorigin and other attributes for wp_resource_hints
--------------------------------------+--------------------------
 Reporter:  superpoincare             |       Owner:  swissspidy
     Type:  enhancement               |      Status:  assigned
 Priority:  normal                    |   Milestone:  4.7
Component:  Script Loader             |     Version:  4.6
 Severity:  normal                    |  Resolution:
 Keywords:  has-patch has-unit-tests  |     Focuses:  performance
--------------------------------------+--------------------------

Comment (by peterwilsoncc):

 The once change I'd make to your patch is to replace a number if `else
 if`s with `elseif`, see [attachment:38121.2.diff].

 Seeing it code, I'm not sure my first suggestion above is a good idea
 afterall. It seems a bit error prone. I'll work on something seperate.

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


More information about the wp-trac mailing list