[wp-trac] Re: [WordPress Trac] #6483: Using mt.publishPost results
in posts having date of November 30th, 1999
WordPress Trac
wp-trac at lists.automattic.com
Wed Jun 25 12:08:41 GMT 2008
#6483: Using mt.publishPost results in posts having date of November 30th, 1999
-----------------------------------------------+----------------------------
Reporter: nstech | Owner: anonymous
Type: defect | Status: new
Priority: normal | Milestone: 2.7
Component: XML-RPC | Version: 2.3.3
Severity: minor | Resolution:
Keywords: mt.publishPost publishPost xmlrpc |
-----------------------------------------------+----------------------------
Comment (by Lazy79):
i could fix that by using
<pubDate>
<?php echo mysql2date('r', get_the_time('Y-m-d H:i:s')); ?>
</pubDate>
instead of
<pubDate>
<?php echo mysql2date('D, d M Y H:i:s +0000', get_post_time('Y-m-d H:i:s',
true), false); ?>
</pubDate>
in feed-rss2.php e.g.
But i do not think that is the right solution, just my workaround for my
blogs and maybe i`m totally wrong here.. then sorry of course! ;)
--
Ticket URL: <http://trac.wordpress.org/ticket/6483#comment:4>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list