So I have a Wordpress 3.3.2 installation with around 8k pages in it now. I seemed to have gotten past a threshold that causes edit.php and the page listing in the admin to take about 20 minutes to load. I've tried multiple server setups, one with a 1GB memory limit, and nothing helped, this is also on a development server so there is no user traffic.
I submitted this as a bug, and a developer said that as I could "turn off hierarchical display in edit.php. A filter in wp_edit_posts_query() might be able to accommodate this" as a potential workaround until they fix it in an update. Does anyone know how this can be done?
Kind of a repost of Too many pages causes Wordpress admin to be unusable but I narrowed down a possible solution and was hoping to get feedback on that specifically.