[wp-trac] [WordPress Trac] #34896: Prevent unnecessary $wpdb->update() when hierarchical post doesn't have children

WordPress Trac noreply at wordpress.org
Mon Dec 7 17:14:52 UTC 2015


#34896: Prevent unnecessary $wpdb->update() when hierarchical post doesn't have
children
---------------------------------------------+------------------
 Reporter:  danielbachhuber                  |       Owner:
     Type:  defect (bug)                     |      Status:  new
 Priority:  normal                           |   Milestone:  4.5
Component:  Posts, Post Types                |     Version:
 Severity:  normal                           |  Resolution:
 Keywords:  has-patch has-unit-tests commit  |     Focuses:
---------------------------------------------+------------------
Changes (by danielbachhuber):

 * keywords:  has-patch has-unit-tests => has-patch has-unit-tests commit


Comment:

 Updated patch to remove `count()` call

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


More information about the wp-trac mailing list