[wp-trac] [WordPress Trac] #24954: Enhance wp_enqueue_style to allow the rel attribute to be set
WordPress Trac
noreply at wordpress.org
Mon Aug 5 13:20:50 UTC 2013
#24954: Enhance wp_enqueue_style to allow the rel attribute to be set
-------------------------+-----------------------------
Reporter: hypedtext | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: General | Version: 3.6
Severity: normal | Keywords:
-------------------------+-----------------------------
If one could use wp_enqueue_style to set the "rel" attribute, it would
make using Less.js(http://lesscss.org/#usage) a lot easier in WordPress.
And would reduce the need for core function filtering
(http://wordpress.stackexchange.com/questions/20876/less-css-enqueue-
style-with-add-filter-to-change-rel-attribute) which, as a novice coder,
scares me as it's one more hack I have to remember.
I'm not sure if that's a core enhancement, but Less.js does seem pretty
popular. Even more so now that Bootstrap 3(http://getbootstrap.com
/getting-started/#download-cdn) is pushing it.
I hope this is useful.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/24954>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list