Support » Plugin: Subscribe2 - Form, Email Subscribers & Newsletters » Plugin sets max_execution_limit to 600

  • Resolved bzle

    (@bzle)


    I’ve set the max_execution_limit for the site to 60, but this plugin is overriding my setting to 600. Can this setting be made available in the plugin’s setting page? I could go into the plugin’s code and change the setting, but then it would get overwritten when I updated the plugin. I could opt not to update the plugin, but that’s not good practice from a security standpoint.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter bzle

    (@bzle)

    Never mind. I put the following code in my functions.php and that over-rode the limit set by Subscribe2:

    if ( function_exists( ‘set_time_limit’ ) ) {
    set_time_limit( 60 );
    }

    btw – The comment in Subscribe2’s code says “Set maximum execution time to 5 minutes”, but I’m pretty sure “600” sets it to 10 minutes.

    @bzle

    I’m glad you found a fix for this and you are correct 600 is 10 minutes. We’ll get that changed to 300 in the next release – 10 minutes is far too long.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Plugin sets max_execution_limit to 600’ is closed to new replies.