Add filter to wp_dropdown_users to help huge networks
|Reported by:||wonderboymusic||Owned by:|
wp_dropdown_users( ) currently has a filter, but it only filters the output. The query args need to be filterable, otherwise sites with a huge number of users cannot turn off or limit this function.
Gravity Forms calls this function in the admin, which causes PHP to run out of memory easily when you have 1,000,000 users. Other plugins can call this at will.
I have added a new filter for dropdown_users_args in my patch