[wp-trac] Re: [WordPress Trac] #8107: get_next_post,
get_previous_post do not work for posts posted within same second
WordPress Trac
wp-trac at lists.automattic.com
Fri Apr 17 09:05:57 GMT 2009
#8107: get_next_post, get_previous_post do not work for posts posted within same
second
--------------------------+-------------------------------------------------
Reporter: whoismanu | Owner: anonymous
Type: defect (bug) | Status: new
Priority: normal | Milestone: Future Release
Component: Template | Version: 2.7
Severity: minor | Keywords: 2nd-opinion
--------------------------+-------------------------------------------------
Comment(by DD32):
It could also be caused by publishing a group of drafts via QuickEdit too
i think.
A 2-part conditional such as this could work however
{{{
(IRC) DD32 Needs to have an order with an ID, and a conditional for (
( postdate == now && ID < currentID ) || postdate < now)
}}}
--
Ticket URL: <http://core.trac.wordpress.org/ticket/8107#comment:4>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list