Add data to stylesheets
|Reported by:||kobenland||Owned by:||ryan|
|Component:||Template||Keywords:||has-patch commit 2nd-opinion needs-codex|
In my humble opinion it would be awesome to provide theme developers an easy function to add extra data to registered stylesheets.
This way they could use the 'wp_head' action to cleanly make stylesheets conditional for IE, make them alternate or add RTL support.
Like wp_add_inline_style(), this function could really contribute to decluttering template files.
Change History (24)
comment:16 @ryan — 23 months ago
- Owner set to ryan
- Resolution set to fixed
- Status changed from new to closed