[wp-trac] [WordPress Trac] #46630: Remove SPL-Autoload polyfill

WordPress Trac noreply at wordpress.org
Mon Jul 15 05:10:45 UTC 2019


#46630: Remove SPL-Autoload polyfill
----------------------------+--------------------------
 Reporter:  ayeshrajans     |       Owner:  (none)
     Type:  enhancement     |      Status:  closed
 Priority:  normal          |   Milestone:
Component:  Bootstrap/Load  |     Version:  4.2
 Severity:  normal          |  Resolution:  duplicate
 Keywords:  has-patch       |     Focuses:  performance
----------------------------+--------------------------

Comment (by pento):

 In [changeset:"45637" 45637]:
 {{{
 #!CommitTicketReference repository="" revision="45637"
 Code Modernisation: Remove the SPL autoloader polyfill.

 As of PHP 5.3, the SPL extension cannot be disabled, so we no longer need
 this polyfill.

 The file is kept with a `_deprecated_file()` call, to alert any plugins or
 themes that may be loading it directly.

 Props jrf, ayeshrajans.
 See #47698, #46630.
 }}}

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


More information about the wp-trac mailing list