No PHP time limit when generating diffs.

Fixes #24757. Props nacin.

git-svn-id: https://develop.svn.wordpress.org/trunk@24707 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Mark Jaquith 2013-07-15 22:53:48 +00:00
parent 0b58010a28
commit a41e9055b1

View File

@ -2103,7 +2103,7 @@ function wp_ajax_get_revision_diffs() {
wp_send_json_error();
$return = array();
@set_time_limit( count( $_REQUEST['compare'] ) );
@set_time_limit( 0 );
foreach ( $_REQUEST['compare'] as $compare_key ) {
list( $compare_from, $compare_to ) = explode( ':', $compare_key ); // from:to