Use ABSPATH . WPINC rather than dynamically building the include path. see #21183.

git-svn-id: http://core.svn.wordpress.org/trunk@21645 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Andrew Nacin 2012-08-28 17:27:18 +00:00
parent 405a995659
commit 1c0611a1df
1 changed files with 1 additions and 1 deletions

View File

@ -25,7 +25,7 @@ function wp_simplepie_autoload( $class ) {
if ( 0 !== strpos( $class, 'SimplePie_' ) )
return;
$file = dirname( __FILE__ ) . '/' . str_replace( '_', '/', $class ) . '.php';
$file = ABSPATH . WPINC . '/' . str_replace( '_', '/', $class ) . '.php';
include $file;
}