updated plugin ActivityPub version 0.10.1

This commit is contained in:
2020-05-04 15:57:04 +00:00
committed by Gitium
parent d201566960
commit bedbe7cc3f
6 changed files with 16 additions and 13 deletions

View File

@ -11,7 +11,7 @@ class Debug {
* Initialize the class, registering WordPress hooks
*/
public static function init() {
if ( WP_DEBUG_LOG ) {
if ( WP_DEBUG && WP_DEBUG_LOG ) {
\add_action( 'activitypub_safe_remote_post_response', array( '\Activitypub\Debug', 'log_remote_post_responses' ), 10, 4 );
}
}