Support » Fixing WordPress » User list paginating only two per page

  • [ Moderator note: moved to Fixing WordPress. Please do not use Developing With WordPress for these topics. ]

    I have a really strange problem…

    I am attempting to extend the backend User search to have visibility of custom user meta fields. I have tried two methods: 1) Plugin Better User Search, 2. Code posted by this developer. Both involve pre_user_query.

    It seems to work – I can successfully tell the system to also look in specific meta fields.

    The problem is, the User list is now only returning two results two page. In fact, the number of results per paginated page seems linked to the number specified in Screen Options above…

    – Was 150: only two displayed
    – When 200: only two displayed
    – When 400: four are displayed
    – When 500: four are displayed
    – When 600: five are displayed
    – When 700: six are displayed
    – When 800: six are displayed

    I’ve stripped out other functions that could be causing a conflict and isolated this code. I also switched to the WordPress standard theme and deactivated all plugins.

    I am running WordPress 4.8.1 on Multisite, and the site in question is not the primary site, but, rather a subsite.

Viewing 1 replies (of 1 total)
  • Whilst this problem is thrown on my Multisite site, it does not happen on a single-site standalone install.

    Is there something about Multisite getting in the way?

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.