[wp-trac] [WordPress Trac] #47698: Remove redundant polyfills for PHP native functionality (excl JSON)

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


#47698: Remove redundant polyfills for PHP native functionality (excl JSON)
-------------------------------------------------+-------------------------
 Reporter:  jrf                                  |       Owner:  (none)
     Type:  enhancement                          |      Status:  new
 Priority:  normal                               |   Milestone:  5.3
Component:  General                              |     Version:  trunk
 Severity:  normal                               |  Resolution:
 Keywords:  has-patch 2nd-opinion has-unit-      |     Focuses:  coding-
  tests                                          |  standards
-------------------------------------------------+-------------------------

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/47698#comment:5>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list