Support » Plugin: BrandNestor » get_users()

  • Resolved danis1986

    (@danis1986)


    WP Dashboard never loaded and it always trigger a timeout. The root cause is Brandnestor plugin triggering a get_users() call on every admin request. When users are limited shouldn’t be a problem but handling a website with many users should be something like this.
    This query is used only in one sub settings sections of Brandnestor plugin, to fill a dropdown selector. A proper fix would require making this query ONLY when the specific section is rendered AND also avoid a full users get when running on large networks. The ideal fix would be something like a typeahead input.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Contributor rwxnikos

    (@rwxnikos)

    Hello @danis1986,

    Thank you for the report. I released a new version and any queries that were previously executed in wp-admin are now executing in the Settings page. I also reduced the data returned by the get_users query and now only query users that are not WooCommerce customers.

    Let me know if that works.

    Thread Starter danis1986

    (@danis1986)

    I will test and let you know asap, Thank you very much also email me please i need something extra from the plugin

    • This reply was modified 2 months, 2 weeks ago by danis1986.
    • This reply was modified 2 months, 2 weeks ago by danis1986.
Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.