[wp-trac] [WordPress Trac] #37240: Remove schemes from dns-prefetch resource hint outputs

WordPress Trac noreply at wordpress.org
Tue Jul 12 11:31:59 UTC 2016


#37240: Remove schemes from dns-prefetch resource hint outputs
---------------------------------------------+-----------------------------
 Reporter:  niallkennedy                     |       Owner:  voldemortensen
     Type:  defect (bug)                     |      Status:  closed
 Priority:  normal                           |   Milestone:  4.6
Component:  General                          |     Version:  trunk
 Severity:  normal                           |  Resolution:  fixed
 Keywords:  has-patch has-unit-tests commit  |     Focuses:  performance
---------------------------------------------+-----------------------------
Changes (by ocean90):

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


Comment:

 In [changeset:"38036"]:
 {{{
 #!CommitTicketReference repository="" revision="38036"
 Resource Hints: Remove schemes from `dns-prefetch` resource hint outputs.

 "wordpress.org", "!http://wordpress.org", and "!https://wordpress.org"
 should all have the same DNS lookup.
 Also, replace `\r\n` with `\n` and ensure that invalid URLs are skipped.

 Props niallkennedy, peterwilsoncc.
 Fixes #37240.
 }}}

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


More information about the wp-trac mailing list