Add name of offensive hook function to error message
authorStephan Gambke <s7eph4n@gmail.com>
Thu, 9 Oct 2014 13:56:31 +0000 (15:56 +0200)
committerUmherirrender <umherirrender_de.wp@web.de>
Fri, 10 Oct 2014 15:11:04 +0000 (15:11 +0000)
commit337698551eaca95d7ba4f388126c7902bcc46874
tree14fe72f6c088760e4bbd699348ea2202450fa7c7
parenta5b61579a3732121c65f344d3b3f6addf9f324ae
Add name of offensive hook function to error message

When a hook function is not callable an exception is thrown.

This patch adds the name of the offensive hook function to
the exception message to improve its informative value.

Change-Id: I376d7f5590099620a4c11ff9a4967d6d8f6560cc
includes/Hooks.php