[wp-trac] [WordPress Trac] #11399: clean_post_cache() generates enormous amounts of queries on sites with lots of pages, revisions or attachments

WordPress Trac noreply at wordpress.org
Thu Dec 27 15:14:45 UTC 2012


#11399: clean_post_cache() generates enormous amounts of queries on sites with lots
of pages, revisions or attachments
-------------------------------+---------------------
 Reporter:  Denis-de-Bernardy  |       Owner:  nacin
     Type:  defect (bug)       |      Status:  closed
 Priority:  normal             |   Milestone:  3.5
Component:  Optimization       |     Version:  2.9
 Severity:  normal             |  Resolution:  fixed
 Keywords:  has-patch          |
-------------------------------+---------------------

Comment (by nacin):

 In [changeset:"23206"]:
 {{{
 #!CommitTicketReference repository="" revision="23206"
 Revert [21942] and have wp_publish_post() deal with the database directly.
 clean_post_cache() is now also called directly due to [21943].

 fixes #22944 for trunk.
 Unit tests: [1174/tests].

 see #11399. see #21963.
 }}}

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/11399#comment:26>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list