[wp-testers] Quick Question

DD32 wordpress at dd32.id.au
Tue Nov 25 00:48:45 GMT 2008


if you're using query_posts() and not resetting the original WP_Query()  
afterwards, that could be the cause of the problem.
Try it on the default theme, If it works properly, Its the theme, Else,  
its the plugin.


On Tue, 25 Nov 2008 11:43:34 +1100, Paul Robinson  
<pablorobinson at gmail.com> wrote:

> 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
>>
> _______________________________________________
> 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