if ( isset( self::$psr4Namespaces[$prefix] ) ) {
$relativeClass = substr( $className, $pos + 1 );
// Build the expected filename, and see if it exists
- $file = self::$psr4Namespaces[$prefix] .
+ $file = self::$psr4Namespaces[$prefix] . '/' .
str_replace( '\\', '/', $relativeClass ) . '.php';
if ( file_exists( $file ) ) {
$filename = $file;