It will work fine if you replace:
// For tag clouds
function wp_tag_cloud_remove_title_attributes($return) {
if (get_option('rta_from_tag_clouds') == 'on') {
// N.B. This function uses single quotes
$return = preg_replace("!title='(.+)'!", "", $return);
}
return $return;
}
with this:
// For tag clouds
function wp_tag_cloud_remove_title_attributes($return) {
if (get_option('rta_from_tag_clouds') == 'on') {
// N.B. This function uses single quotes
$return = preg_replace("!title='([^']+)'!", "", $return);
}
return $return;
}