roborourke / wp-less

Provides a LESS compiler compatible with wp_enqueue_style() for rapid CSS development in themes and plugins.
MIT License
217 stars 55 forks source link

Obsolete filter #11

Closed franz-josef-kaiser closed 12 years ago

franz-josef-kaiser commented 12 years ago

As the less_vars filter already has the $handle as second arg, the 2nd - more specific less_vars_$handle - filter is obsolete.

I currently can check inside the 1st filter which $handle I'm using and then routing. I'd suggest to remove

It's no bug or blocker - just to remove any confusion.

franz-josef-kaiser commented 12 years ago

https://github.com/franz-josef-kaiser/wp-less/commit/178c0b9fc413e104fafd8ad036e88760fbb067cc

roborourke commented 12 years ago

I put it in so you can either manage variables for everything at once or just for specific files. Seemed like a good idea at the time! I'll have a think about it.