[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
Fri Aug 16 22:55:11 UTC 2019


#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          |     Focuses:
-------------------------------+---------------------

Comment (by nacin):

 Replying to [comment:27 DrewAPicture]:
 > @nacin Are we to a point where we can formally deprecate
 `_save_post_hook()`? You effectively soft-deprecated it in [21943]. Hard-
 deprecation has been raised in #41121.

 The reason why it was soft-deprecated in [21943] is because it was an
 internal callback tied to `save_post`. A deprecated notice felt
 superfluous, but probably could be added without any trouble.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/11399#comment:28>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list