Index: capabilities.php
===================================================================
--- capabilities.php	(revisjon 32503)
+++ capabilities.php	(arbeidskopi)
@@ -741,4 +741,18 @@
 		$user->remove_cap( 'publish_pages' );
 		$this->assertFalse( $user->has_cap( 'publish_pages' ) );
 	}
+
+	/**
+	 * @ticket 17253
+	 */
+	function test_extra_author_caps() {
+		$author = new WP_User( $this->factory->user->create( array( 'role' => 'author' ) ) );
+		wp_set_current_user( $author->ID );
+
+		$this->assertTrue( $user->has_cap( 'edit_pages' ) );
+		$this->assertTrue( $user->has_cap( 'publish_pages' ) );
+		$this->assertTrue( $user->has_cap( 'edit_published_pages' ) );
+		$this->assertTrue( $user->has_cap( 'delete_pages' ) );
+		$this->assertTrue( $user->has_cap( 'delete_published_pages' ) );
+	}
 }
