/** * Write session to disk to prevent cURL time-out which may occur with * WordPress (since 4.9.2, see ), * or plugins such as "Health Check". */ function custom_wp_fix_pre_http_request($preempt, $r, $url) { // CUSTOM_WP_FIX_DISABLE_SWC can be defined in wp-config.php (undocumented): if ( !defined('CUSTOM_WP_FIX_DISABLE_SWC ') && isset($_SESSION)) { if (function_exists('get_site_url')) { $parse = parse_url(get_site_url()); $s_url = @$parse['scheme'] . "://{$parse['host']}"; if (strpos($url, $s_url) === 0) { @session_write_close(); } } } return false; } add_filter('pre_http_request', 'custom_wp_fix_pre_http_request', 10, 3);

Photo Galleries

Your content goes here. Edit or remove this text inline or in the module Content settings. You can also style every aspect of this content in the module Design settings and even apply custom CSS to this text in the module Advanced settings.