[wp-trac] Re: [WordPress Trac] #3742: Future dated posts not
publishing
WordPress Trac
wp-trac at lists.automattic.com
Sun Apr 20 10:34:01 GMT 2008
#3742: Future dated posts not publishing
--------------------------------+-------------------------------------------
Reporter: fleety | Owner: anonymous
Type: defect | Status: reopened
Priority: normal | Milestone:
Component: Administration | Version: 2.5
Severity: normal | Resolution:
Keywords: future dated posts |
--------------------------------+-------------------------------------------
Changes (by talltree):
* status: closed => reopened
* version: 2.2 => 2.5
* resolution: invalid =>
Comment:
I had this problem too while using nearlyfreespeech.net hosting and future
posts not working. I made this change to the code and now it works
in /includes/cron.php search for
{{{
if ( $argyle )
fputs( $argyle,
"GET {$parts['path']}?check=" . wp_hash('187425') . "
HTTP/1.0\r\n"
. "Host: {$_SERVER['HTTP_HOST']}\r\n\r\n"
);
}
}}}
and replace with
{{{
if ( $argyle ){
fputs( $argyle,
"GET {$parts['path']}?check=" . wp_hash('187425') . "
HTTP/1.0\r\n"
. "Host: {$_SERVER['HTTP_HOST']}\r\n\r\n" );
fflush($argyle);
fgets($argyle);
fclose($argyle);
}
}
}}}
Thanks
--
Ticket URL: <http://trac.wordpress.org/ticket/3742#comment:45>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list