Index: wp-includes/js/tinymce/plugins/wordpress/editor_plugin_src.js
===================================================================
--- wp-includes/js/tinymce/plugins/wordpress/editor_plugin_src.js	(revision 22403)
+++ wp-includes/js/tinymce/plugins/wordpress/editor_plugin_src.js	(working copy)
@@ -144,6 +144,20 @@
 				}
 			});
 
+			ed.onPreInit.add(function(ed) {
+				var commonAttr;
+				// Add HTML5 obsolete attributes that are still in use.
+				// Can be disabled by setting 'wordpress_allow_obsolete_attr' to false in the init array (using 'tiny_mce_before_init' filter in PHP).
+				if ( ed.getParam('wordpress_allow_obsolete_attr', true) ) {
+					// This list is taken from TinyMCE 3.5.7 getHTML5()
+					commonAttr = 'id|accesskey|class|dir|draggable|item|hidden|itemprop|role|spellcheck|style|subject|title|onclick|ondblclick|onmousedown|onmouseup|onmouseover|onmousemove|onmouseout|onkeypress|onkeydown|onkeyup';
+					// Additional attributes from TinyMCE 3.5.7 getHTML4()
+					ed.schema.addValidElements('table['+commonAttr+'|summary|width|border|frame|rules|cellspacing|cellpadding|align|bgcolor]');
+					// Adds "name" for <a>
+					ed.schema.addValidElements('a['+commonAttr+'|href|target|ping|rel|media|type|name]');
+				}
+			});
+
 			ed.onInit.add(function(ed) {
 				var bodyClass = ed.getParam('body_class', ''), body = ed.getBody();
 
