Index: /CKEditor/trunk/CHANGES.html
===================================================================
--- /CKEditor/trunk/CHANGES.html	(revision 4365)
+++ /CKEditor/trunk/CHANGES.html	(revision 4366)
@@ -86,4 +86,5 @@
 		<li><a href="http://dev.fckeditor.net/ticket/3717">#3717</a> : Dialog settings defaults can now be overridden in-page through the CKEDITOR.config object.</li>
 		<li><a href="http://dev.fckeditor.net/ticket/4481">#4481</a> : The 'stylesCombo_stylesSet' configuration entry didn't work for full URLs.</li> 
+		<li><a href="http://dev.fckeditor.net/ticket/4480">#4480</a> : Fixed scope attribute in th.</li> 
 	</ul>
 	<h3>
Index: /CKEditor/trunk/_source/plugins/table/dialogs/table.js
===================================================================
--- /CKEditor/trunk/_source/plugins/table/dialogs/table.js	(revision 4365)
+++ /CKEditor/trunk/_source/plugins/table/dialogs/table.js	(revision 4366)
@@ -98,5 +98,5 @@
 					}
 
-					// Modify the table headers. Depends on havint rows and cols generated
+					// Modify the table headers. Depends on having rows and cols generated
 					// correctly so it can't be done in commit functions.
 
@@ -116,6 +116,5 @@
 							{
 								th.renameNode( 'th' );
-								if ( !i )
-									th.setAttribute( 'scope', 'col' );
+								th.setAttribute( 'scope', 'col' );
 							}
 						}
@@ -154,5 +153,5 @@
 							newCell = new CKEDITOR.dom.element( table.$.rows[ row ].cells[ 0 ] );
 							newCell.renameNode( 'th' );
-							newCell.setAttribute( 'scope', 'col' );
+							newCell.setAttribute( 'scope', 'row' );
 						}
 					}
@@ -167,5 +166,5 @@
 							{
 								newCell = new CKEDITOR.dom.element( row.$.cells[0] );
-								newCell.renameNode( 'td');
+								newCell.renameNode( 'td' );
 								newCell.removeAttribute( 'scope' );
 							}
