[wp-trac] [WordPress Trac] #21402: Remove PHP4 methods, format consistently

WordPress Trac noreply at wordpress.org
Thu Jan 23 00:25:52 UTC 2020


#21402: Remove PHP4 methods, format consistently
-----------------------------+-----------------------------
 Reporter:  wonderboymusic   |       Owner:  SergeyBiryukov
     Type:  enhancement      |      Status:  closed
 Priority:  normal           |   Milestone:  5.4
Component:  Cache API        |     Version:
 Severity:  normal           |  Resolution:  fixed
 Keywords:  has-patch early  |     Focuses:
-----------------------------+-----------------------------
Changes (by SergeyBiryukov):

 * status:  reviewing => closed
 * resolution:   => fixed


Comment:

 In [changeset:"47107" 47107]:
 {{{
 #!CommitTicketReference repository="" revision="47107"
 Cache API: Remove `WP_Object_Cache::__destruct()` and
 `wpdb::__destruct()`.

 Originally added in [4686], these constructor/destructor pairings were
 designed to prevent the objects from being destroyed before shutdown, when
 output buffers are flushed.

 A deeper investigation reveals that this approach didn't quite work as
 expected and was later made redundant by introducing
 `wp_ob_end_flush_all()` in [5462].

 Props wonderboymusic, nacin, Mte90, SergeyBiryukov.
 Fixes #21402.
 }}}

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


More information about the wp-trac mailing list