html element "lang" bug

Description

Wordpress core function "language_attributes()" is returning by example 'en_US' and should return 'en-US'.
This could be important when crawlers are parsing and indexing pages saving the parsed language found in that element.

Following w3c specification of html language attribute we can confirm that.