593c402dc7
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. git-svn-id: https://develop.svn.wordpress.org/trunk@45637 602fd350-edb4-49c9-b593-d223f7449a82
15 lines
443 B
PHP
15 lines
443 B
PHP
<?php
|
|
/**
|
|
* Polyfill for SPL autoload feature. This file is separate to prevent compiler notices
|
|
* on the deprecated __autoload() function.
|
|
*
|
|
* See https://core.trac.wordpress.org/ticket/41134
|
|
*
|
|
* @deprecated 5.3.0 No longer needed as the minimum PHP requirement has moved beyond PHP 5.3.
|
|
*
|
|
* @package PHP
|
|
* @access private
|
|
*/
|
|
|
|
_deprecated_file( basename( __FILE__ ), '5.3.0', null, 'SPL can no longer be disabled as of PHP 5.3.' );
|