Make WordPress Core

Changeset 24591


Ignore:
Timestamp:
07/08/2013 05:17:46 PM (12 years ago)
Author:
nacin
Message:

Use correct variable in the deprecated and abandoned Snoopy HTTP client. see #24210.

See also:

If any plugins are using this (instead of the WordPress HTTP API), this at least ensures that temp files are cleaned up.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/class-snoopy.php

    r23604 r24591  
    10111011            $cmdline_params .= " -m ".$this->read_timeout;
    10121012
    1013         $headerfile = tempnam($temp_dir, "sno");
     1013        $headerfile = tempnam($this->temp_dir, "sno");
    10141014
    10151015        exec($this->curl_path." -k -D \"$headerfile\"".$cmdline_params." \"".escapeshellcmd($URI)."\"",$results,$return);
Note: See TracChangeset for help on using the changeset viewer.