[wp-hackers] Adjacent post is affected by the query

Andrew Nacin wp at andrewnacin.com
Mon Oct 4 21:29:04 UTC 2010


On Mon, Oct 4, 2010 at 5:16 PM, Ashish Saini
<ashishsainiashfame at gmail.com>wrote:

> Hello,
>
> When I try to execute a query on my own table by fetching the post ID from
> the post global, then the same query is in effect on the adjacent post too.
> I have seen this thing before but Googling didn't turn up anything. I think
> it has something to do with the navigation links (previous and next post).


It's your browser prefetching the next post.

http://core.trac.wordpress.org/ticket/12603


More information about the wp-hackers mailing list