diff options
Diffstat (limited to '')
-rw-r--r-- | wp-includes/spl-autoload-compat.php | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/wp-includes/spl-autoload-compat.php b/wp-includes/spl-autoload-compat.php new file mode 100644 index 0000000..29399d4 --- /dev/null +++ b/wp-includes/spl-autoload-compat.php @@ -0,0 +1,14 @@ +<?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', '', 'SPL can no longer be disabled as of PHP 5.3.' ); |