wp/wp-admin/includes/ajax-actions.php
changeset 22 8c2e4d02f4ef
parent 21 48c4eec2b7e6
equal deleted inserted replaced
21:48c4eec2b7e6 22:8c2e4d02f4ef
  3554 		wp_send_json_error();
  3554 		wp_send_json_error();
  3555 	}
  3555 	}
  3556 
  3556 
  3557 	$return = array();
  3557 	$return = array();
  3558 
  3558 
       
  3559 	// Increase the script timeout limit to allow ample time for diff UI setup.
  3559 	if ( function_exists( 'set_time_limit' ) ) {
  3560 	if ( function_exists( 'set_time_limit' ) ) {
  3560 		set_time_limit( 0 );
  3561 		set_time_limit( 5 * MINUTE_IN_SECONDS );
  3561 	}
  3562 	}
  3562 
  3563 
  3563 	foreach ( $_REQUEST['compare'] as $compare_key ) {
  3564 	foreach ( $_REQUEST['compare'] as $compare_key ) {
  3564 		list( $compare_from, $compare_to ) = explode( ':', $compare_key ); // from:to
  3565 		list( $compare_from, $compare_to ) = explode( ':', $compare_key ); // from:to
  3565 
  3566