Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Function request: queue_script/style 'local' parameter
#2
I am not sure this is the proper solution.

bad plugins are bad plugins, there is no reason they even need to use asset queues, they could just output their assets whenever they want , they should be written properly to begin with.

we could however make this easier, by making a wrapper function to do this, so authors do not have to wrap their queue calls in a get_filename_id block.

queue_style_conditional($id,GSBACK,$condition)
NEW: SA Admin Toolbar Plugin | View All My Plugins
- Shawn A aka Tablatronix
Reply


Messages In This Thread
RE: Function request: queue_script/style 'local' parameter - by shawn_a - 2015-10-28, 06:11:05



Users browsing this thread: 1 Guest(s)