<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="bbPress/1.0.1" -->
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title>Gravity Support Forums Topic: Performance Issue with wp_dropdown_users()</title>
		<link>https://legacy.forums.gravityhelp.com/topic/performance-issue-with-wp_dropdown_users</link>
		<description>Gravity Support Forums Topic: Performance Issue with wp_dropdown_users()</description>
		<language>en-US</language>
		<pubDate>Fri, 17 Apr 2026 00:29:03 +0000</pubDate>
		<generator>http://bbpress.org/?v=1.0.1</generator>
		<textInput>
			<title><![CDATA[Search]]></title>
			<description><![CDATA[Search all topics from these forums.]]></description>
			<name>q</name>
			<link>https://legacy.forums.gravityhelp.com/search.php</link>
		</textInput>
		<atom:link href="https://legacy.forums.gravityhelp.com/rss/topic/performance-issue-with-wp_dropdown_users" rel="self" type="application/rss+xml" />

		<item>
			<title>Carl Hancock on "Performance Issue with wp_dropdown_users()"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/performance-issue-with-wp_dropdown_users#post-21980</link>
			<pubDate>Tue, 29 Mar 2011 14:39:06 +0000</pubDate>
			<dc:creator>Carl Hancock</dc:creator>
			<guid isPermaLink="false">21980@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;This is an issue that does occur on sites with a very large number of users because by default the Author drop down on the Post Title and Post Body fields lists all users.  We created the gform_author_drop_args hook specifically for situations like this. &#60;/p&#62;
&#60;p&#62;I'm not sure if you found it in the documentation, but it is located here:&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://www.gravityhelp.com/documentation/page/Gform_author_dropdown_args&#34; rel=&#34;nofollow&#34;&#62;http://www.gravityhelp.com/documentation/page/Gform_author_dropdown_args&#60;/a&#62;
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Aaron Forgue on "Performance Issue with wp_dropdown_users()"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/performance-issue-with-wp_dropdown_users#post-21977</link>
			<pubDate>Tue, 29 Mar 2011 14:34:43 +0000</pubDate>
			<dc:creator>Aaron Forgue</dc:creator>
			<guid isPermaLink="false">21977@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Alright, the filter worked nicely. Here is what I did:&#60;br /&#62;
&#60;pre&#62;&#60;code&#62;function inet_limit_author_dropdown($args) {
    $args[&#38;#39;who&#38;#39;] = &#38;#39;authors&#38;#39;;
    return $args;
}
add_filter(&#38;#39;gform_author_dropdown_args&#38;#39;, &#38;#39;inet_limit_author_dropdown&#38;#39;);&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;This limits the the drop down to only &#34;authors&#34; instead of all users.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Aaron Forgue on "Performance Issue with wp_dropdown_users()"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/performance-issue-with-wp_dropdown_users#post-21976</link>
			<pubDate>Tue, 29 Mar 2011 14:24:41 +0000</pubDate>
			<dc:creator>Aaron Forgue</dc:creator>
			<guid isPermaLink="false">21976@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Actually, now that I look closer we might be able to hook into the filter set up right before that and narrow down the search somehow. I'll try that and report back
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Aaron Forgue on "Performance Issue with wp_dropdown_users()"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/performance-issue-with-wp_dropdown_users#post-21975</link>
			<pubDate>Tue, 29 Mar 2011 14:22:23 +0000</pubDate>
			<dc:creator>Aaron Forgue</dc:creator>
			<guid isPermaLink="false">21975@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Just a heads up: Our site has over 600,000 users in Wordpress. When creating a new form in GF, the form_detail.php makes use of the wp_dropdown_users() function to populate the 'Default Post Author' field. As a result, it attempts to load all 600+k users into the field.&#60;/p&#62;
&#60;p&#62;This causes a massive load time and occasionally the page just craps out and won't load at all. When I commented out the use of wp_dropdown_users() in form_detail.php, everything loaded fine.&#60;/p&#62;
&#60;p&#62;This temporary solution will hold us over, but it'd be great if you could take this issue into consideration in future releases.&#60;/p&#62;
&#60;p&#62;Thanks!&#60;br /&#62;
Aaron
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
