do_action and apply_filter should report if the user function is missing
|Reported by:||nbachiyski||Owned by:||anonymous|
do_action/apply_filters tell me somehow that I the user function doesn't exists. For example I have entered the action name wrong and there is no proper way to debug it other from luck and guessing.
Fixing do_action is easy -- it can just return false or WP_Error. The problem is with apply_filters -- it's return value is dependent on the user function and we can't interfere with it in no way.