You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The current implementation (in 2.4.0) of WordPressClient::_logError() requires callbacks to be closures or function strings. Thus it is not possible to attach a class method as callback, which would make it easier to separate the callback from a logger.
However, if the callbacks would called instead by call_user_func_array() any callable type would be possible:
The current implementation (in
2.4.0
) ofWordPressClient::_logError()
requires callbacks to be closures or function strings. Thus it is not possible to attach a class method as callback, which would make it easier to separate the callback from a logger.However, if the callbacks would called instead by
call_user_func_array()
any callable type would be possible:The text was updated successfully, but these errors were encountered: