[wp-trac] [WordPress Trac] #48074: Remove work-arounds for unsupported PHP versions

WordPress Trac noreply at wordpress.org
Sun Dec 1 12:12:10 UTC 2019


#48074: Remove work-arounds for unsupported PHP versions
----------------------------+--------------------------------------------
 Reporter:  jrf             |       Owner:  SergeyBiryukov
     Type:  task (blessed)  |      Status:  closed
 Priority:  normal          |   Milestone:  5.3
Component:  General         |     Version:  5.3
 Severity:  normal          |  Resolution:  fixed
 Keywords:  has-patch       |     Focuses:  performance, coding-standards
----------------------------+--------------------------------------------

Comment (by SergeyBiryukov):

 In [changeset:"46808" 46808]:
 {{{
 #!CommitTicketReference repository="" revision="46808"
 Widgets: Remove `WP_Widget_Factory::$hashed_class_counts` property, unused
 since [46220].

 The `spl_object_hash()` function was introduced in PHP 5.2.0. As of PHP
 5.3, the PHP SPL extension can no longer be disabled, so the
 `WP_Widget_Factory::hash_object()` workaround was removed in [46220].

 See #48074.
 }}}

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


More information about the wp-trac mailing list