[wp-trac] [WordPress Trac] #19742: WP_Styles should pass more info to the filter

WordPress Trac wp-trac at lists.automattic.com
Wed Jan 4 21:49:30 UTC 2012


#19742: WP_Styles should pass more info to the filter
-------------------------+-----------------------------
 Reporter:  ptahdunbar   |      Owner:
     Type:  enhancement  |     Status:  new
 Priority:  normal       |  Milestone:  Awaiting Review
Component:  General      |    Version:
 Severity:  normal       |   Keywords:  has-patch
-------------------------+-----------------------------
 Currently, if your working with wp_enqueue_style(), it's not easy to
 customize the output of the link element.

 The current filter passes the full html along with the style handle. This
 isn't enough information if you're trying to rebuild the link element.

 I'm currently changing rel="stylesheet" to rel="stylesheet/less" for
 lesscss suport. I'm currently able to achieve this, but I have to know the
 style handle.

 This patch adds a third param which contains all of the style data
 available for that style.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/19742>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list