OddOneOut/Better-WordPress-Google-XML-Sitemaps — pull request #6 by jrfoell (2013-11-01 15:41:04+00:00)
Title: Convert CPT dash (-) to underscore (_) for valid module class name

Since Custom Post Type names may contain dashes (-), and PHP classes may not have dashes in the name, I created a workaround so that sitemap modules can be created for those post types. This should be backwards compatible in all instances except in the strange case where you may have post types: 'my_cpt' and 'my-cpt'