retlehs/roots — pull request #845 by Foxaii (2013-08-18 22:58:45+00:00)
Title: Sidebar support for args array

Using `call_user_func_array` processes the arguments one at a time using callbacks, so only the first result is returned. Most conditional tags support passing an array as the argument so we may as well just pass the whole thing in one go.

This will enable the `Sidebar_Class` to process more complicated checks such as the final example below:
```php
array(
'is_404',
'is_front_page',
array('is_page', array(42, 'page-slug', 'Page Title'))
),
```