ronalfy / reorder-posts

Reorder Posts
GNU General Public License v2.0
6 stars 0 forks source link

Sigh - Reorder Performance #19

Closed ronalfy closed 9 years ago

ronalfy commented 9 years ago

I only noticed this "after" I released 2.1. The Ajax time is taking "forever" on my live sites.

I narrowed this down to the wp_update_post calls. When I changed it to using $wpdb->update, the performance increased dramatically.

I mirrored a lot of this functionality on Simple Page Ordering (the 10up plugin) and it has the same performance issues on my host.

I'll do some more testing and then update the Reorder class to use $wpdb instead.