diff --git a/src/Rules/Honeypot.php b/src/Rules/Honeypot.php index d74f85ec..ab1c8faa 100644 --- a/src/Rules/Honeypot.php +++ b/src/Rules/Honeypot.php @@ -69,6 +69,8 @@ public static function precheck() { } if ( ! isset( $fields['plugin_field'] ) ) { + $log_data = $_POST; + unset( $log_data[ 'email' ] ); DebugMode::log( 'Missing `plugin_field` key in HoneyPot precheck method for the following $_POST data: ' . print_r( $_POST, true ) ); }