[wp-trac] Re: [WordPress Trac] #3742: Future dated posts not publishing

WordPress Trac wp-trac at lists.automattic.com
Tue Aug 12 14:05:02 GMT 2008


#3742: Future dated posts not publishing
----------------------------+-----------------------------------------------
 Reporter:  fleety          |        Owner:  anonymous
     Type:  defect          |       Status:  reopened 
 Priority:  normal          |    Milestone:  2.7      
Component:  Administration  |      Version:  2.5      
 Severity:  normal          |   Resolution:           
 Keywords:  needs-patch     |  
----------------------------+-----------------------------------------------
Comment (by Otto42):

 The change given above (for the old code) basically changes it to do an
 fflush, fgets, and fclose. The fflush and fgets is useless in this
 context, it's the fclose that's closing the socket and making all the data
 get written for certain.

 Looking at the new HTTP API, if you're using the fsocket method (instead
 of one of the other four), then it does an fsockopen, fwrite, and fclose.

 So this patch should not be necessary anymore in trunk/2.7 and up.

 Might be nice to add the fclose line only into 2.6.1, if it's not too
 late. If it is too late, I still recommend sticking it into the 2.6 branch
 for those people using SVN or in case there is a 2.6.2.

 But this one is no longer relevant for 2.7 users.

-- 
Ticket URL: <http://trac.wordpress.org/ticket/3742#comment:51>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list