Make WordPress Core

Opened 9 years ago

Closed 8 years ago

Last modified 8 years ago

#34765 closed enhancement (fixed)

Introduced the `$media` parameter in style_loader_tag

Reported by: sebastianpisula's profile sebastian.pisula Owned by: ocean90's profile ocean90
Milestone: 4.5 Priority: normal
Severity: normal Version:
Component: Script Loader Keywords:
Focuses: Cc:


I want generate <link> tag without id attribute. And media is important info.

Attachments (1)

34765.patch (1.2 KB) - added by sebastian.pisula 9 years ago.

Download all attachments as: .zip

Change History (3)

#1 @ocean90
8 years ago

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

In 36592:

Styles: Pass the media attribute as an argument to the style_loader_tag filter.

Props sebastian.pisula.
Fixes #34765.

#2 @ocean90
8 years ago

  • Milestone changed from Awaiting Review to 4.5
Note: See TracTickets for help on using tickets.