[wp-testers] Quick Question

DD32 wordpress at dd32.id.au
Mon Nov 24 23:54:13 GMT 2008


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
>




More information about the wp-testers mailing list