diff --git a/includes/class-wc-autoloader.php b/includes/class-wc-autoloader.php index caa85d23a0d..3ad0194890c 100644 --- a/includes/class-wc-autoloader.php +++ b/includes/class-wc-autoloader.php @@ -40,7 +40,7 @@ class WC_Autoloader { * @return string */ private function get_file_name_from_class( $class ) { - return 'class-' . str_replace( '_', '-', strtolower( $class ) ) . '.php'; + return 'class-' . str_replace( '_', '-', $class ) . '.php'; } /**