Commit ee37494a authored by Nigel McNie's avatar Nigel McNie
Browse files

Case sensitivity standardisation for PluginBlocktype

parent 90462fb6
......@@ -840,7 +840,7 @@ function call_static_method($class, $method) {
function generate_class_name() {
$args = func_get_args();
if (count($args) == 2 && $args[0] == 'blocktype') {
return 'PluginBlockType' . ucfirst(blocktype_namespaced_to_single($args[1]));
return 'PluginBlocktype' . ucfirst(blocktype_namespaced_to_single($args[1]));
}
return 'Plugin' . implode('', array_map('ucfirst', $args));
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment