• Resolved TKServer

    (@tkserver)


    Description: We’ve identified a compatibility issue between Cleantalk Anti-Spam and custom admin pages that use WP_User_Query.

    The Problem:

    • Custom admin page uses WP_User_Query to display a paginated list of users (20 users per page)
    • With Cleantalk enabled, the page fails to render the user table completely
    • With Cleantalk disabled, the page works perfectly
    • Error logs show memory exhaustion in CleantalkWpDieOnComment.php

    Environment:

    • WordPress with ~4,000 users and ~250,000 posts
    • PHP 8.x with 256MB memory limit
    • Simple WP_User_Query with basic pagination

    Expected Behavior: Cleantalk should not interfere with admin-area user queries that are clearly for administrative purposes, not spam checking.

    Suggested Fix: Cleantalk should check if the current request is in the admin area (is_admin()) and skip heavy processing for administrative user queries.

    This appears to be Cleantalk hooking into pre_user_query, users_pre_query, or similar WordPress user query hooks and adding processing that’s unnecessary for admin pages.

Viewing 7 replies - 1 through 7 (of 7 total)
Viewing 7 replies - 1 through 7 (of 7 total)

The topic ‘Plugin Conflict – Cleantalk interfering with WP_User_Query in admin area’ is closed to new replies.