[wp-testers] Quick Question

Paul Robinson pablorobinson at gmail.com
Tue Nov 25 00:43:34 GMT 2008


I'm unsure since I didn't really make the plugin. I've just modified it
slightly since the original author stopped developing it. As far as I can
tell it is ran as a regular plugin. I am experimenting with a new theme and
I make two calls to query_posts(); on the same page would that be the cause
of the problem?

I just found it odd since it only starts to be empty from the 2nd page
onwards.

2008/11/24 DD32 <wordpress at dd32.id.au>

> the posts array will be set by WP_Query, Pretty sure the line will read:
>
> $GLOBALS['post'] = & $this->posts;
> (from memory)
>
> I cant understand why its not set, Are you perhaps hooking in too early for
> the posts to have been populated?
>
>
>
> On Tue, 25 Nov 2008 07:38:15 +1100, Paul Robinson <pablorobinson at gmail.com>
> wrote:
>
>  Hi,
>>
>> I was wondering, a plugin which is nolonger supported by the author, but I
>> have been maintaining has stopped working. It gather post IDs from an
>> array
>> called $posts which is now empty on any page other than the first page.
>>
>> Can anyone tell me if the $posts array has been gotten rid of? In fact can
>> anyone tell me when the $posts array is made since I can't find any
>> mention
>> of it anywhere???
>>
>> Thanks.
>>
>> Paul.
>> _______________________________________________
>> wp-testers mailing list
>> wp-testers at lists.automattic.com
>> http://lists.automattic.com/mailman/listinfo/wp-testers
>>
>>
>
> _______________________________________________
> wp-testers mailing list
> wp-testers at lists.automattic.com
> http://lists.automattic.com/mailman/listinfo/wp-testers
>


More information about the wp-testers mailing list