diff --git a/wp-includes/class-simplepie.php b/wp-includes/class-simplepie.php index 8826a89728..c5b0f11a12 100644 --- a/wp-includes/class-simplepie.php +++ b/wp-includes/class-simplepie.php @@ -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; }