[wp-trac] [WordPress Trac] #35882: Script Loader: Don't parse `$src` if the current color scheme isn't registered

WordPress Trac noreply at wordpress.org
Fri Feb 19 20:43:12 UTC 2016


#35882: Script Loader: Don't parse `$src` if the current color scheme isn't
registered
---------------------------+----------------------
 Reporter:  ocean90        |       Owner:  ocean90
     Type:  defect (bug)   |      Status:  closed
 Priority:  normal         |   Milestone:  4.5
Component:  Script Loader  |     Version:
 Severity:  normal         |  Resolution:  fixed
 Keywords:                 |     Focuses:
---------------------------+----------------------
Changes (by ocean90):

 * owner:   => ocean90
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"36591"]:
 {{{
 #!CommitTicketReference repository="" revision="36591"
 Script Loader: Don't parse `$src` if the current color scheme isn't
 registered.

 Avoids a `parse_url()` call on each request if the default colors scheme
 is in use.

 Fixes #35882.
 }}}

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


More information about the wp-trac mailing list