Better support for AJAX comments
Ongoing fixes for better AJAX comments support
See: https://wpdirectory.net/search/01HJKQW4Q7NCTKNB3W54CPARMZ
TODO: https://github.com/pluginkollektiv/antispam-bee/issues/149#issuecomment-1870265781
Fixes #149
Quality Gate passed
Kudos, no new issues were introduced!
0 New issues
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code
This looks good to me, so I tend to merge it as is.
I'm not too deep into the inner logic right now, but I do not see this doing harm either, so one step into the right direction.
This is the first step to fix #149
There is another fix needed. https://github.com/pluginkollektiv/antispam-bee/issues/149#issuecomment-1870265781
But it would help to avoid unnecessary code execution for AJAX calls - but as this wouldn't make much sense without fixing the above this PR could wait until we fix the other problem.