WordPress.org

Make WordPress Core

Opened 5 years ago

Closed 5 years ago

#35882 closed defect (bug) (fixed)

Script Loader: Don't parse `$src` if the current color scheme isn't registered

Reported by: ocean90 Owned by: ocean90
Milestone: 4.5 Priority: normal
Severity: normal Version:
Component: Script Loader Keywords:
Focuses: Cc:

Description


Change History (1)

#1 @ocean90
5 years ago

  • Owner set to ocean90
  • Resolution set to fixed
  • Status changed from new to closed

In 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.

Note: See TracTickets for help on using tickets.