[wp-trac] [WordPress Trac] #38828: update_blog_details() performance improvement ideas

WordPress Trac noreply at wordpress.org
Wed Nov 16 16:46:19 UTC 2016


#38828: update_blog_details() performance improvement ideas
-------------------------------------------------+-------------------------
 Reporter:  boonebgorges                         |       Owner:
     Type:  defect (bug)                         |      Status:  new
 Priority:  normal                               |   Milestone:  Future
Component:  General                              |  Release
 Severity:  normal                               |     Version:
 Keywords:  needs-patch needs-unit-tests good-   |  Resolution:
  first-bug                                      |     Focuses:  multisite,
                                                 |  performance
-------------------------------------------------+-------------------------

Comment (by boonebgorges):

 > I wonder if it might be easier to unhook your call to
 update_blog_details() when the bulk-action starts, then hook it back in
 when it's done, and manually call update_blog_details() once at the end
 vs. when each deleted_postaction fires (which is my assumption, but seems
 like the obvious one.)

 Yes, there are definitely workarounds for my purpose. (Post deletion is a
 very DB-intensive process, badly in need of bulk features.)

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


More information about the wp-trac mailing list