[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:46:37 UTC 2015


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

 * owner:   => joehoyle
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"35817"]:
 {{{
 #!CommitTicketReference repository="" revision="35817"
 Prevent unnecessary $wpdb->update() when hierarchical post doesn't have
 children.

 Props danielbachhuber.
 Fixes #34896.
 }}}

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


More information about the wp-trac mailing list