Plugin Directory

Changeset 2262935


Ignore:
Timestamp:
03/18/2020 05:29:30 AM (6 years ago)
Author:
dothattask
Message:

18032020 change in last version

Location:
do-that-task
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • do-that-task/tags/1.4.6/includes/class-common-functions.php

    r2260981 r2262935  
    127127            $args['body'] = $aPostData;
    128128        }
    129 
     129        $timeout = 90;
     130        if ( ! ini_get( 'safe_mode' ) ){
     131            set_time_limit( $timeout + 30 );
     132        }
     133        $args['timeout'] = $timeout;
    130134
    131135        $aResponse = wp_remote_request($aUrl,$args);
  • do-that-task/trunk/includes/class-common-functions.php

    r2260981 r2262935  
    127127            $args['body'] = $aPostData;
    128128        }
    129 
     129        $timeout = 90;
     130        if ( ! ini_get( 'safe_mode' ) ){
     131            set_time_limit( $timeout + 30 );
     132        }
     133        $args['timeout'] = $timeout;
    130134
    131135        $aResponse = wp_remote_request($aUrl,$args);
Note: See TracChangeset for help on using the changeset viewer.