Index: src/wp-includes/wp-diff.php
===================================================================
--- src/wp-includes/wp-diff.php	(revision 36752)
+++ src/wp-includes/wp-diff.php	(working copy)
@@ -342,6 +342,8 @@
 	 */
 	public function interleave_changed_lines( $orig, $final ) {
 
+		@set_time_limit( 300 );
+		
 		// Contains all pairwise string comparisons. Keys are such that this need only be a one dimensional array.
 		$matches = array();
 		foreach ( array_keys($orig) as $o ) {
