Use `is_callable` vs `function_exists` so that class methods can be used for whitelist conditionals
move logic out of `array_shift` to avoid strict standards warnings
Merge pull request #89 from Automattic/use-is-callable

Use `is_callable` vs `function_exists`