We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8837b8b commit 8211207Copy full SHA for 8211207
includes/class-debug.php
@@ -11,7 +11,7 @@ class Debug {
11
* Initialize the class, registering WordPress hooks
12
*/
13
public static function init() {
14
- if ( WP_DEBUG_LOG ) {
+ if ( WP_DEBUG && WP_DEBUG_LOG ) {
15
\add_action( 'activitypub_safe_remote_post_response', array( '\Activitypub\Debug', 'log_remote_post_responses' ), 10, 4 );
16
}
17
0 commit comments