Move deprecated pluggable functions to a new file to lower their profile. Also throw deprecated warnings if a plugin defines a deprecated pluggable function. See #11388

git-svn-id: https://develop.svn.wordpress.org/trunk@13204 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Andrew Nacin
2010-02-18 23:17:06 +00:00
parent 96c01c0018
commit ea0b2aacf0
3 changed files with 116 additions and 91 deletions
+1
View File
@@ -176,6 +176,7 @@ unset( $plugin );
// Load pluggable functions.
require( ABSPATH . WPINC . '/pluggable.php' );
require( ABSPATH . WPINC . '/pluggable-deprecated.php' );
// Set internal encoding.
wp_set_internal_encoding();