Merge pull request #8427 from fhugas/patch-1
Removed redundant strtolower()
This commit is contained in:
commit
36549725fb
|
@ -40,7 +40,7 @@ class WC_Autoloader {
|
||||||
* @return string
|
* @return string
|
||||||
*/
|
*/
|
||||||
private function get_file_name_from_class( $class ) {
|
private function get_file_name_from_class( $class ) {
|
||||||
return 'class-' . str_replace( '_', '-', strtolower( $class ) ) . '.php';
|
return 'class-' . str_replace( '_', '-', $class ) . '.php';
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in New Issue