[wp-trac] Re: [WordPress Trac] #3742: Future dated posts not
publishing
WordPress Trac
wp-trac at lists.automattic.com
Thu Jun 21 02:11:12 GMT 2007
#3742: Future dated posts not publishing
--------------------------------+-------------------------------------------
Reporter: fleety | Owner: anonymous
Type: defect | Status: reopened
Priority: normal | Milestone: 2.4 (future)
Component: Administration | Version: 2.2
Severity: normal | Resolution:
Keywords: future dated posts |
--------------------------------+-------------------------------------------
Comment (by johnmarkschofield):
Replying to [comment:37 intoxination]:
> Sorry - the file to edit is wp-includes/cron.php and the file the
fsockopen will call is http://{yoursite}/wp-cron.php
>
> It has been a long day.
Long here too. {grin} Thanks for your help.
Here's the code, post-edit:
{{{
}
} else {
$argyle = @ fsockopen( $parts['host'],
$_SERVER['SERVER_PORT'], $errno, $errstr, 0.01 );
}
// FIXME: Following line is for testing only; should be removed.
echo $errno." ".$errstr;
if ( $argyle )
fputs( $argyle,
}}}
The only effect of this change seems to be a lower-case "o" in the upper-
left hand corner of the site.
This is not much of a problem, so I've left the debug code in place for
now. You can go to http://blog.sudosu.net and verify for yourself.
I also loaded http://blog.sudosu.net/wp-cron.php ; this did make a future
post that had been queued appear; I saw no error messages.
--
Ticket URL: <http://trac.wordpress.org/ticket/3742#comment:38>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list