WordPress.org

Make WordPress Core

Opened 5 years ago

Closed 5 years ago

Last modified 5 years ago

#34765 closed enhancement (fixed)

Introduced the `$media` parameter in style_loader_tag

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

Description

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

Attachments (1)

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

Download all attachments as: .zip

Change History (3)

#1 @ocean90
5 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
5 years ago

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